Mercurial > hg > xemacs-beta
comparison src/console-tty.h @ 272:c5d627a313b1 r21-0b34
Import from CVS: tag r21-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:28:48 +0200 |
parents | 8efd647ea9ca |
children | 8626e4521993 |
comparison
equal
deleted
inserted
replaced
271:c7b7086b0a39 | 272:c5d627a313b1 |
---|---|
101 CONST char *left; /* cub1, le */ | 101 CONST char *left; /* cub1, le */ |
102 CONST char *right; /* cuf1, nd */ | 102 CONST char *right; /* cuf1, nd */ |
103 CONST char *home; /* home, ho */ | 103 CONST char *home; /* home, ho */ |
104 CONST char *low_left; /* ll, ll */ | 104 CONST char *low_left; /* ll, ll */ |
105 CONST char *car_return; /* cr, cr */ | 105 CONST char *car_return; /* cr, cr */ |
106 | 106 |
107 /* parameterized local cursor movement */ | 107 /* parameterized local cursor movement */ |
108 CONST char *multi_up; /* cuu, UP */ | 108 CONST char *multi_up; /* cuu, UP */ |
109 CONST char *multi_down; /* cud, DO */ | 109 CONST char *multi_down; /* cud, DO */ |
110 CONST char *multi_left; /* cub, LE */ | 110 CONST char *multi_left; /* cub, LE */ |
111 CONST char *multi_right; /* cuf, RI */ | 111 CONST char *multi_right; /* cuf, RI */ |
158 CONST char *end_standout; /* rmso, se */ | 158 CONST char *end_standout; /* rmso, se */ |
159 CONST char *begin_underline; /* smul, us */ | 159 CONST char *begin_underline; /* smul, us */ |
160 CONST char *end_underline; /* rmul, ue */ | 160 CONST char *end_underline; /* rmul, ue */ |
161 CONST char *begin_alternate; /* smacs, as */ | 161 CONST char *begin_alternate; /* smacs, as */ |
162 CONST char *end_alternate; /* rmacs, ae */ | 162 CONST char *end_alternate; /* rmacs, ae */ |
163 | 163 |
164 CONST char *turn_on_reverse; /* rev, mr */ | 164 CONST char *turn_on_reverse; /* rev, mr */ |
165 CONST char *turn_on_blinking; /* blink, mb */ | 165 CONST char *turn_on_blinking; /* blink, mb */ |
166 CONST char *turn_on_bold; /* bold, md */ | 166 CONST char *turn_on_bold; /* bold, md */ |
167 CONST char *turn_on_dim; /* dim, mh */ | 167 CONST char *turn_on_dim; /* dim, mh */ |
168 CONST char *turn_off_attributes; /* sgr0, me */ | 168 CONST char *turn_off_attributes; /* sgr0, me */ |
177 CONST char *keypad_on; /* smkx, ks */ | 177 CONST char *keypad_on; /* smkx, ks */ |
178 CONST char *keypad_off; /* rmkx, ke */ | 178 CONST char *keypad_off; /* rmkx, ke */ |
179 | 179 |
180 CONST char *orig_pair; /* op, op */ | 180 CONST char *orig_pair; /* op, op */ |
181 } sd; | 181 } sd; |
182 | 182 |
183 /* costs of various operations */ | 183 /* costs of various operations */ |
184 struct | 184 struct |
185 { | 185 { |
186 int cm_up; | 186 int cm_up; |
187 int cm_down; | 187 int cm_down; |
253 extern short ospeed; /* Output speed (from sg_ospeed) */ | 253 extern short ospeed; /* Output speed (from sg_ospeed) */ |
254 #endif | 254 #endif |
255 | 255 |
256 extern FILE *termscript; | 256 extern FILE *termscript; |
257 | 257 |
258 EXFUN (Fconsole_tty_controlling_process, 1); | |
258 | 259 |
259 /****************** Prototypes from cm.c *******************/ | 260 /****************** Prototypes from cm.c *******************/ |
260 | 261 |
261 /* #### Verify that all of these are still needed. */ | 262 /* #### Verify that all of these are still needed. */ |
262 | 263 |
263 extern void cm_cost_init (struct console *c); | 264 void cm_cost_init (struct console *c); |
264 extern void cmputc (int c); | 265 void cmputc (int c); |
265 extern void cmgoto (struct frame *f, int row, int col); | 266 void cmgoto (struct frame *f, int row, int col); |
266 extern struct console *cmputc_console; | 267 extern struct console *cmputc_console; |
267 void send_string_to_tty_console (struct console *c, unsigned char *str, | 268 void send_string_to_tty_console (struct console *c, unsigned char *str, |
268 int len); | 269 int len); |
269 | |
270 | |
271 /*************** Prototypes from event-tty.c ****************/ | |
272 | |
273 extern void init_event_tty_late (void); | |
274 | |
275 | 270 |
276 | 271 |
277 /*************** Prototypes from redisplay-tty.c ****************/ | 272 /*************** Prototypes from redisplay-tty.c ****************/ |
278 | 273 |
279 enum term_init_status | 274 enum term_init_status |
283 TTY_TYPE_INSUFFICIENT, | 278 TTY_TYPE_INSUFFICIENT, |
284 TTY_SIZE_UNSPECIFIED, | 279 TTY_SIZE_UNSPECIFIED, |
285 TTY_INIT_SUCCESS | 280 TTY_INIT_SUCCESS |
286 }; | 281 }; |
287 | 282 |
288 extern int init_tty_for_redisplay (struct device *d, char *terminal_type); | 283 int init_tty_for_redisplay (struct device *d, char *terminal_type); |
289 /* #### These should probably be methods. */ | 284 /* #### These should probably be methods. */ |
290 void set_tty_modes (struct console *c); | 285 void set_tty_modes (struct console *c); |
291 void reset_tty_modes (struct console *c); | 286 void reset_tty_modes (struct console *c); |
292 | 287 |
293 /* Used in sysdep.c to properly clear and position the cursor when exiting. */ | 288 /* Used in sysdep.c to properly clear and position the cursor when exiting. */ |
294 extern void tty_redisplay_shutdown (struct console *c); | 289 void tty_redisplay_shutdown (struct console *c); |
295 | 290 |
296 /* called from console-stream.c */ | 291 /* called from console-stream.c */ |
297 Lisp_Object tty_semi_canonicalize_console_connection (Lisp_Object connection, | 292 Lisp_Object tty_semi_canonicalize_console_connection (Lisp_Object connection, |
298 Error_behavior errb); | 293 Error_behavior errb); |
299 Lisp_Object tty_canonicalize_console_connection (Lisp_Object connection, | 294 Lisp_Object tty_canonicalize_console_connection (Lisp_Object connection, |