Mercurial > emacs
comparison src/config.in @ 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 | f800e307fc39 |
children | b85b19b8eb65 |
comparison
equal
deleted
inserted
replaced
82990:2ecd1f669db9 | 82991:2b26656ff804 |
---|---|
859 /* If we're using the Carbon API on Mac OS X, define a few more | 859 /* If we're using the Carbon API on Mac OS X, define a few more |
860 variables as well. */ | 860 variables as well. */ |
861 #ifdef HAVE_CARBON | 861 #ifdef HAVE_CARBON |
862 #define HAVE_WINDOW_SYSTEM | 862 #define HAVE_WINDOW_SYSTEM |
863 #define HAVE_MOUSE | 863 #define HAVE_MOUSE |
864 #endif | |
865 | |
866 /* Multi-tty support relies on MULTI_KBOARD. It seems safe to turn it | |
867 on unconditionally. */ | |
868 #ifndef MULTI_KBOARD | |
869 #define MULTI_KBOARD | |
864 #endif | 870 #endif |
865 | 871 |
866 /* Define USER_FULL_NAME to return a string | 872 /* Define USER_FULL_NAME to return a string |
867 that is the user's full name. | 873 that is the user's full name. |
868 It can assume that the variable `pw' | 874 It can assume that the variable `pw' |