comparison src/console-tty.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 8de8e3f6228a
children 190b164ddcac
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
91 /* cursor motion entries - each entry is commented with the terminfo 91 /* cursor motion entries - each entry is commented with the terminfo
92 and the termcap entry */ 92 and the termcap entry */
93 struct 93 struct
94 { 94 {
95 /* local cursor movement */ 95 /* local cursor movement */
96 CONST char *up; /* cuu1, up */ 96 const char *up; /* cuu1, up */
97 CONST char *down; /* cud1, do */ 97 const char *down; /* cud1, do */
98 CONST char *left; /* cub1, le */ 98 const char *left; /* cub1, le */
99 CONST char *right; /* cuf1, nd */ 99 const char *right; /* cuf1, nd */
100 CONST char *home; /* home, ho */ 100 const char *home; /* home, ho */
101 CONST char *low_left; /* ll, ll */ 101 const char *low_left; /* ll, ll */
102 CONST char *car_return; /* cr, cr */ 102 const char *car_return; /* cr, cr */
103 103
104 /* parameterized local cursor movement */ 104 /* parameterized local cursor movement */
105 CONST char *multi_up; /* cuu, UP */ 105 const char *multi_up; /* cuu, UP */
106 CONST char *multi_down; /* cud, DO */ 106 const char *multi_down; /* cud, DO */
107 CONST char *multi_left; /* cub, LE */ 107 const char *multi_left; /* cub, LE */
108 CONST char *multi_right; /* cuf, RI */ 108 const char *multi_right; /* cuf, RI */
109 109
110 /* absolute cursor motion */ 110 /* absolute cursor motion */
111 CONST char *abs; /* cup, cm */ 111 const char *abs; /* cup, cm */
112 CONST char *hor_abs; /* hpa, ch */ 112 const char *hor_abs; /* hpa, ch */
113 CONST char *ver_abs; /* vpa, cv */ 113 const char *ver_abs; /* vpa, cv */
114 114
115 /* scrolling */ 115 /* scrolling */
116 CONST char *scroll_forw; /* ind, sf */ 116 const char *scroll_forw; /* ind, sf */
117 CONST char *scroll_back; /* ri, sr */ 117 const char *scroll_back; /* ri, sr */
118 CONST char *multi_scroll_forw; /* indn, SF */ 118 const char *multi_scroll_forw; /* indn, SF */
119 CONST char *multi_scroll_back; /* rin, SR */ 119 const char *multi_scroll_back; /* rin, SR */
120 CONST char *set_scroll_region; /* csr, cs */ 120 const char *set_scroll_region; /* csr, cs */
121 } cm; 121 } cm;
122 122
123 /* screen editing entries - each entry is commented with the 123 /* screen editing entries - each entry is commented with the
124 terminfo and the termcap entry */ 124 terminfo and the termcap entry */
125 struct 125 struct
126 { 126 {
127 /* adding to the screen */ 127 /* adding to the screen */
128 CONST char *ins_line; /* il1, al */ 128 const char *ins_line; /* il1, al */
129 CONST char *multi_ins_line; /* il, AL */ 129 const char *multi_ins_line; /* il, AL */
130 CONST char *repeat; /* rep, rp */ 130 const char *repeat; /* rep, rp */
131 CONST char *begin_ins_mode; /* smir, im */ 131 const char *begin_ins_mode; /* smir, im */
132 CONST char *end_ins_mode; /* rmir, ei */ 132 const char *end_ins_mode; /* rmir, ei */
133 CONST char *ins_char; /* ich1, ic */ 133 const char *ins_char; /* ich1, ic */
134 CONST char *multi_ins_char; /* ich, IC */ 134 const char *multi_ins_char; /* ich, IC */
135 CONST char *insert_pad; /* ip, ip */ 135 const char *insert_pad; /* ip, ip */
136 136
137 /* deleting from the screen */ 137 /* deleting from the screen */
138 CONST char *clr_frame; /* clear, cl */ 138 const char *clr_frame; /* clear, cl */
139 CONST char *clr_from_cursor; /* ed, cd */ 139 const char *clr_from_cursor; /* ed, cd */
140 CONST char *clr_to_eol; /* el, ce */ 140 const char *clr_to_eol; /* el, ce */
141 CONST char *del_line; /* dl1, dl */ 141 const char *del_line; /* dl1, dl */
142 CONST char *multi_del_line; /* dl, DL */ 142 const char *multi_del_line; /* dl, DL */
143 CONST char *del_char; /* dch1, dc */ 143 const char *del_char; /* dch1, dc */
144 CONST char *multi_del_char; /* dch, DC */ 144 const char *multi_del_char; /* dch, DC */
145 CONST char *begin_del_mode; /* smdc, dm */ 145 const char *begin_del_mode; /* smdc, dm */
146 CONST char *end_del_mode; /* rmdc, ed */ 146 const char *end_del_mode; /* rmdc, ed */
147 CONST char *erase_at_cursor; /* ech, ec */ 147 const char *erase_at_cursor; /* ech, ec */
148 } se; 148 } se;
149 149
150 /* screen display entries - each entry is commented with the 150 /* screen display entries - each entry is commented with the
151 terminfo and termcap entry */ 151 terminfo and termcap entry */
152 struct 152 struct
153 { 153 {
154 CONST char *begin_standout; /* smso, so */ 154 const char *begin_standout; /* smso, so */
155 CONST char *end_standout; /* rmso, se */ 155 const char *end_standout; /* rmso, se */
156 CONST char *begin_underline; /* smul, us */ 156 const char *begin_underline; /* smul, us */
157 CONST char *end_underline; /* rmul, ue */ 157 const char *end_underline; /* rmul, ue */
158 CONST char *begin_alternate; /* smacs, as */ 158 const char *begin_alternate; /* smacs, as */
159 CONST char *end_alternate; /* rmacs, ae */ 159 const char *end_alternate; /* rmacs, ae */
160 160
161 CONST char *turn_on_reverse; /* rev, mr */ 161 const char *turn_on_reverse; /* rev, mr */
162 CONST char *turn_on_blinking; /* blink, mb */ 162 const char *turn_on_blinking; /* blink, mb */
163 CONST char *turn_on_bold; /* bold, md */ 163 const char *turn_on_bold; /* bold, md */
164 CONST char *turn_on_dim; /* dim, mh */ 164 const char *turn_on_dim; /* dim, mh */
165 CONST char *turn_off_attributes; /* sgr0, me */ 165 const char *turn_off_attributes; /* sgr0, me */
166 166
167 CONST char *visual_bell; /* flash, vb */ 167 const char *visual_bell; /* flash, vb */
168 CONST char *audio_bell; /* bel, bl */ 168 const char *audio_bell; /* bel, bl */
169 169
170 CONST char *cursor_visible; /* cvvis, vs */ 170 const char *cursor_visible; /* cvvis, vs */
171 CONST char *cursor_normal; /* cnorm, ve */ 171 const char *cursor_normal; /* cnorm, ve */
172 CONST char *init_motion; /* smcup, ti */ 172 const char *init_motion; /* smcup, ti */
173 CONST char *end_motion; /* rmcup, te */ 173 const char *end_motion; /* rmcup, te */
174 CONST char *keypad_on; /* smkx, ks */ 174 const char *keypad_on; /* smkx, ks */
175 CONST char *keypad_off; /* rmkx, ke */ 175 const char *keypad_off; /* rmkx, ke */
176 176
177 CONST char *orig_pair; /* op, op */ 177 const char *orig_pair; /* op, op */
178 } sd; 178 } sd;
179 179
180 /* costs of various operations */ 180 /* costs of various operations */
181 struct 181 struct
182 { 182 {