diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2004-01-11 01:18:45 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2004-01-11 01:18:45 +0000 |
commit | 71180ceff995d9f8863147c3f5f0465e477bcafa (patch) | |
tree | 1169e8a3fc20de1e5c882dbe142ae8e0f84ffcd5 /src/keyboard.h | |
parent | 39b6eed846150df09714b04333379a05df49e267 (diff) | |
download | emacs-71180ceff995d9f8863147c3f5f0465e477bcafa.tar.gz |
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
Diffstat (limited to 'src/keyboard.h')
-rw-r--r-- | src/keyboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index 1144b794dd3..a084efa7791 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -340,5 +340,8 @@ extern void kbd_buffer_store_help_event P_ ((Lisp_Object, Lisp_Object)); extern Lisp_Object menu_item_eval_property P_ ((Lisp_Object)); extern int kbd_buffer_events_waiting P_ ((int)); +extern int tty_read_avail_input P_ ((struct display *, + struct input_event *, int, int)); + /* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3 (do not change this comment) */ |