Mercurial > hg > xemacs-beta
comparison src/console-tty.h @ 153:25f70ba0133c r20-3b3
Import from CVS: tag r20-3b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:38:25 +0200 |
parents | 538048ae2ab8 |
children | 3d6bfa290dbd |
comparison
equal
deleted
inserted
replaced
152:4c132ee2d62b | 153:25f70ba0133c |
---|---|
39 DECLARE_CONSOLE_TYPE (tty); | 39 DECLARE_CONSOLE_TYPE (tty); |
40 | 40 |
41 struct tty_console | 41 struct tty_console |
42 { | 42 { |
43 int infd, outfd; | 43 int infd, outfd; |
44 #ifdef HAVE_GPM | |
45 int mouse_fd; | |
46 #endif | |
44 Lisp_Object instream, outstream; | 47 Lisp_Object instream, outstream; |
45 Lisp_Object terminal_type; | 48 Lisp_Object terminal_type; |
46 Lisp_Object controlling_process; | 49 Lisp_Object controlling_process; |
47 char *term_entry_buffer; | 50 char *term_entry_buffer; |
48 | 51 |
195 /* Is this TTY our controlling terminal? */ | 198 /* Is this TTY our controlling terminal? */ |
196 unsigned int controlling_terminal :1; | 199 unsigned int controlling_terminal :1; |
197 unsigned int is_stdio :1; | 200 unsigned int is_stdio :1; |
198 }; | 201 }; |
199 | 202 |
203 #ifdef HAVE_GPM | |
204 #define CONSOLE_TTY_MOUSE_FD(c) (CONSOLE_TTY_DATA (c)->mouse_fd) | |
205 #endif | |
200 #define CONSOLE_TTY_DATA(c) CONSOLE_TYPE_DATA (c, tty) | 206 #define CONSOLE_TTY_DATA(c) CONSOLE_TYPE_DATA (c, tty) |
201 #define CONSOLE_TTY_CURSOR_X(c) (CONSOLE_TTY_DATA (c)->cursor_x) | 207 #define CONSOLE_TTY_CURSOR_X(c) (CONSOLE_TTY_DATA (c)->cursor_x) |
202 #define CONSOLE_TTY_CURSOR_Y(c) (CONSOLE_TTY_DATA (c)->cursor_y) | 208 #define CONSOLE_TTY_CURSOR_Y(c) (CONSOLE_TTY_DATA (c)->cursor_y) |
203 #define CONSOLE_TTY_REAL_CURSOR_X(c) (CONSOLE_TTY_DATA (c)->real_cursor_x) | 209 #define CONSOLE_TTY_REAL_CURSOR_X(c) (CONSOLE_TTY_DATA (c)->real_cursor_x) |
204 #define CONSOLE_TTY_REAL_CURSOR_Y(c) (CONSOLE_TTY_DATA (c)->real_cursor_y) | 210 #define CONSOLE_TTY_REAL_CURSOR_Y(c) (CONSOLE_TTY_DATA (c)->real_cursor_y) |