Mercurial > emacs
diff src/termhooks.h @ 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 | b2b37c85b00a |
children | 32bf8e7cc0c2 |
line wrap: on
line diff
--- a/src/termhooks.h Sat Jan 10 13:27:38 2004 +0000 +++ b/src/termhooks.h Sun Jan 11 01:18:45 2004 +0000 @@ -473,7 +473,7 @@ /* Called to read input events. */ - int (*read_socket_hook) P_ ((struct input_event *, int, int)); + int (*read_socket_hook) P_ ((struct display *, struct input_event *, int, int)); /* Called when a frame's display becomes entirely up to date. */ void (*frame_up_to_date_hook) P_ ((struct frame *));