Mercurial > emacs
annotate src/s/hpux11.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 | 695cf19ef79e |
children | 375f2633d815 cb1bfa1dca4f |
rev | line source |
---|---|
49893
1bcf8d62f4cd
Include hpux10-20.h instead of hpux10.h. Delete #undef of
Juanma Barranquero <lekktu@gmail.com>
parents:
48167
diff
changeset
|
1 #include "hpux10-20.h" |
40578 | 2 |
3 #define HPUX11 | |
4 | |
5 #ifdef POSIX_SIGNALS | |
6 #undef POSIX_SIGNALS | |
7 #endif | |
8 #define POSIX_SIGNALS 1 | |
46299
72e949fc6d1e
(BROKEN_SA_RESTART): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
40578
diff
changeset
|
9 |
72e949fc6d1e
(BROKEN_SA_RESTART): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
40578
diff
changeset
|
10 /* SA_RESTART resets the timeout of `select', so don't use it. */ |
72e949fc6d1e
(BROKEN_SA_RESTART): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
40578
diff
changeset
|
11 #define BROKEN_SA_RESTART |
46414
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
12 |
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
13 /* It does work on HPUX to open the pty's tty in the parent (Emacs), |
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
14 then close and reopen it in the child. */ |
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
15 #define USG_SUBTTY_WORKS |
52401 | 16 |
17 /* arch-tag: f5a3d780-82cd-4a9a-832e-a4031aab788b | |
18 (do not change this comment) */ |