Mercurial > emacs
comparison src/sysdep.c @ 83011:c4d4cbf86260
Changed tty input code to use read_socket_hook.
src/keyboard.c (read_avail_input): Removed tty-related code.
(tty_read_avail_input): New function.
src/keyboard.h (tty_read_avail_input): New prototype.
src/term.c (term_init): Set read_socket_hook. Removed bogus baud rate
initialization.
src/termhooks.h (read_socket_hook): Added display parameter.
src/xterm.c (XTread_socket): Added display parameter (unused).
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-51
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 11 Jan 2004 01:18:45 +0000 |
parents | 040dd41ed7d0 |
children | 4aa172a45af1 |
comparison
equal
deleted
inserted
replaced
83010:82554ed1aed8 | 83011:c4d4cbf86260 |
---|---|
2692 #endif | 2692 #endif |
2693 | 2693 |
2694 void | 2694 void |
2695 read_input_waiting () | 2695 read_input_waiting () |
2696 { | 2696 { |
2697 /* XXX This needs to be updated for multi-tty support. Does | |
2698 anybody need to emulate select these days? */ | |
2697 int nread, i; | 2699 int nread, i; |
2698 extern int quit_char; | 2700 extern int quit_char; |
2699 | 2701 |
2700 if (read_socket_hook) | 2702 if (read_socket_hook) |
2701 { | 2703 { |