teken_subr.h (197522) | teken_subr.h (197539) |
---|---|
1/*- 2 * Copyright (c) 2008-2009 Ed Schouten <ed@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2008-2009 Ed Schouten <ed@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/teken/teken_subr.h 197522 2009-09-26 15:26:32Z ed $ | 26 * $FreeBSD: head/sys/teken/teken_subr.h 197539 2009-09-27 18:19:41Z ed $ |
27 */ 28 29static void teken_subr_cursor_up(teken_t *, unsigned int); 30static void teken_subr_erase_line(teken_t *, unsigned int); 31static void teken_subr_regular_character(teken_t *, teken_char_t); 32static void teken_subr_reset_to_initial_state(teken_t *); 33static void teken_subr_save_cursor(teken_t *); 34 --- 892 unchanged lines hidden (view full) --- 927 teken_printf("DECRST allow 132\n"); 928 break; 929 case 45: /* Disable reverse wraparound. */ 930 teken_printf("DECRST reverse wraparound\n"); 931 break; 932 case 47: /* Switch to alternate buffer. */ 933 teken_printf("Switch to alternate buffer\n"); 934 break; | 27 */ 28 29static void teken_subr_cursor_up(teken_t *, unsigned int); 30static void teken_subr_erase_line(teken_t *, unsigned int); 31static void teken_subr_regular_character(teken_t *, teken_char_t); 32static void teken_subr_reset_to_initial_state(teken_t *); 33static void teken_subr_save_cursor(teken_t *); 34 --- 892 unchanged lines hidden (view full) --- 927 teken_printf("DECRST allow 132\n"); 928 break; 929 case 45: /* Disable reverse wraparound. */ 930 teken_printf("DECRST reverse wraparound\n"); 931 break; 932 case 47: /* Switch to alternate buffer. */ 933 teken_printf("Switch to alternate buffer\n"); 934 break; |
935 case 1000: /* Mouse input. */ 936 teken_funcs_param(t, TP_MOUSE, 0); 937 break; |
|
935 default: 936 teken_printf("Unknown DECRST: %u\n", cmd); 937 } 938} 939 940static void 941teken_subr_reset_mode(teken_t *t, unsigned int cmd) 942{ --- 130 unchanged lines hidden (view full) --- 1073 teken_printf("DECSET allow 132\n"); 1074 break; 1075 case 45: /* Enable reverse wraparound. */ 1076 teken_printf("DECSET reverse wraparound\n"); 1077 break; 1078 case 47: /* Switch to alternate buffer. */ 1079 teken_printf("Switch away from alternate buffer\n"); 1080 break; | 938 default: 939 teken_printf("Unknown DECRST: %u\n", cmd); 940 } 941} 942 943static void 944teken_subr_reset_mode(teken_t *t, unsigned int cmd) 945{ --- 130 unchanged lines hidden (view full) --- 1076 teken_printf("DECSET allow 132\n"); 1077 break; 1078 case 45: /* Enable reverse wraparound. */ 1079 teken_printf("DECSET reverse wraparound\n"); 1080 break; 1081 case 47: /* Switch to alternate buffer. */ 1082 teken_printf("Switch away from alternate buffer\n"); 1083 break; |
1084 case 1000: /* Mouse input. */ 1085 teken_funcs_param(t, TP_MOUSE, 1); 1086 break; |
|
1081 default: 1082 teken_printf("Unknown DECSET: %u\n", cmd); 1083 } 1084} 1085 1086static void 1087teken_subr_set_mode(teken_t *t, unsigned int cmd) 1088{ --- 195 unchanged lines hidden --- | 1087 default: 1088 teken_printf("Unknown DECSET: %u\n", cmd); 1089 } 1090} 1091 1092static void 1093teken_subr_set_mode(teken_t *t, unsigned int cmd) 1094{ --- 195 unchanged lines hidden --- |