Mercurial > emacs
comparison src/keyboard.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 | 82554ed1aed8 |
children | b44978264e1d |
comparison
equal
deleted
inserted
replaced
83010:82554ed1aed8 | 83011:c4d4cbf86260 |
---|---|
338 Lisp_Object, Lisp_Object, Lisp_Object, int)); | 338 Lisp_Object, Lisp_Object, Lisp_Object, int)); |
339 extern void kbd_buffer_store_help_event P_ ((Lisp_Object, Lisp_Object)); | 339 extern void kbd_buffer_store_help_event P_ ((Lisp_Object, Lisp_Object)); |
340 extern Lisp_Object menu_item_eval_property P_ ((Lisp_Object)); | 340 extern Lisp_Object menu_item_eval_property P_ ((Lisp_Object)); |
341 extern int kbd_buffer_events_waiting P_ ((int)); | 341 extern int kbd_buffer_events_waiting P_ ((int)); |
342 | 342 |
343 extern int tty_read_avail_input P_ ((struct display *, | |
344 struct input_event *, int, int)); | |
345 | |
343 /* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3 | 346 /* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3 |
344 (do not change this comment) */ | 347 (do not change this comment) */ |