comparison src/frame.h @ 82991:2b26656ff804

MULTI_KBOARD support for ttys. Input-related bugfixes for X+tty sessions. lib-src/emacsclient.c (pty_conversation): Fix errno check for read from fileno(in). src/config.in: Unconditionally define MULTI_KBOARD. src/frame.c (make_terminal_frame): Initialize f->kboard. src/keyboard.c (cmd_error_internal): Don't kill Emacs if a Quit was pressed on the tty of a X+tty session. (read_avail_input): Initialize nread to zero. Abort if there is no tty after a termcap read. (interrupt_signal)[USG]: Always reset signal handler. (init_keyboard): Always set signal handler for SIGINT/SIGQUIT if noninteractive. src/term.c (term_dummy_init): Initialize kboard to the initial_kboard. (term_init): Free component structures of the initial tty. Clear xmalloced structures. Moved rif initialization to syms_of_term. (term_init)[MULTI_KBOARD]: Initialize tty->kboard. (delete_tty)[MULTI_KBOARD]: Delete the keyboard. (syms_of_term): Initialize tty_display_method_template. src/termchar.h (tty_output)[MULTI_KBOARD]: Added kboard member. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-31
author Karoly Lorentey <lorentey@elte.hu>
date Fri, 02 Jan 2004 02:54:17 +0000
parents 2ecd1f669db9
children 7900111db01c
comparison
equal deleted inserted replaced
82990:2ecd1f669db9 82991:2b26656ff804
290 /* The extra width (in pixels) currently allotted for fringes. */ 290 /* The extra width (in pixels) currently allotted for fringes. */
291 int left_fringe_width, right_fringe_width; 291 int left_fringe_width, right_fringe_width;
292 292
293 #ifdef MULTI_KBOARD 293 #ifdef MULTI_KBOARD
294 /* A pointer to the kboard structure associated with this frame. 294 /* A pointer to the kboard structure associated with this frame.
295 For termcap frames, this points to initial_kboard. For X frames, 295 For termcap frames, it will be the same as
296 it will be the same as display.x->display_info->kboard. */ 296 output_data.tty->display_info->kboard.
297 For X frames, it will be the same as
298 output_data.x->display_info->kboard. */
297 struct kboard *kboard; 299 struct kboard *kboard;
298 #endif 300 #endif
299 301
300 /* See FULLSCREEN_ enum below */ 302 /* See FULLSCREEN_ enum below */
301 int want_fullscreen; 303 int want_fullscreen;