Mercurial > hg > xemacs-beta
comparison src/console-tty.h @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | 56c54cf7c5b6 |
children | 54cc21c15cbb |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
41 struct tty_console | 41 struct tty_console |
42 { | 42 { |
43 int infd, outfd; | 43 int infd, outfd; |
44 Lisp_Object instream, outstream; | 44 Lisp_Object instream, outstream; |
45 Lisp_Object terminal_type; | 45 Lisp_Object terminal_type; |
46 Lisp_Object controlling_process; | |
47 char *term_entry_buffer; | 46 char *term_entry_buffer; |
48 | 47 |
49 /* Physical location of cursor on this console. */ | 48 /* Physical location of cursor on this console. */ |
50 int cursor_x; | 49 int cursor_x; |
51 int cursor_y; | 50 int cursor_y; |
165 CONST char *cursor_normal; /* cnorm, ve */ | 164 CONST char *cursor_normal; /* cnorm, ve */ |
166 CONST char *init_motion; /* smcup, ti */ | 165 CONST char *init_motion; /* smcup, ti */ |
167 CONST char *end_motion; /* rmcup, te */ | 166 CONST char *end_motion; /* rmcup, te */ |
168 CONST char *keypad_on; /* smkx, ks */ | 167 CONST char *keypad_on; /* smkx, ks */ |
169 CONST char *keypad_off; /* rmkx, ke */ | 168 CONST char *keypad_off; /* rmkx, ke */ |
170 | |
171 CONST char *orig_pair; /* op, op */ | |
172 } sd; | 169 } sd; |
173 | 170 |
174 /* costs of various operations */ | 171 /* costs of various operations */ |
175 struct | 172 struct |
176 { | 173 { |
188 | 185 |
189 /* The initial tty mode bits */ | 186 /* The initial tty mode bits */ |
190 struct emacs_tty old_tty; | 187 struct emacs_tty old_tty; |
191 | 188 |
192 /* Is this TTY our controlling terminal? */ | 189 /* Is this TTY our controlling terminal? */ |
193 unsigned int controlling_terminal :1; | 190 int controlling_terminal :1; |
194 unsigned int is_stdio :1; | 191 int is_stdio :1; |
195 }; | 192 }; |
196 | 193 |
197 #define CONSOLE_TTY_DATA(c) CONSOLE_TYPE_DATA (c, tty) | 194 #define CONSOLE_TTY_DATA(c) CONSOLE_TYPE_DATA (c, tty) |
198 #define CONSOLE_TTY_CURSOR_X(c) (CONSOLE_TTY_DATA (c)->cursor_x) | 195 #define CONSOLE_TTY_CURSOR_X(c) (CONSOLE_TTY_DATA (c)->cursor_x) |
199 #define CONSOLE_TTY_CURSOR_Y(c) (CONSOLE_TTY_DATA (c)->cursor_y) | 196 #define CONSOLE_TTY_CURSOR_Y(c) (CONSOLE_TTY_DATA (c)->cursor_y) |