Mercurial > emacs
annotate src/termopts.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 | 4250e7e26247 |
children | 6c13700d1c13 |
rev | line source |
---|---|
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
776
diff
changeset
|
1 /* Flags and parameters describing user options for handling the terminal. |
486 | 2 Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc. |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
12244 | 8 the Free Software Foundation; either version 2, or (at your option) |
486 | 9 any later version. |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
12244
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
12244
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
486 | 20 |
21 | |
22 /* Nonzero means flash the screen instead of ringing the bell. */ | |
23 extern int visible_bell; | |
24 | |
25 /* Nonzero means invert white and black for the entire screen. */ | |
26 extern int inverse_video; | |
27 | |
28 /* Nonzero means use ^S/^Q as cretinous flow control. */ | |
29 extern int flow_control; | |
30 | |
31 /* Nonzero means use interrupt-driven input. */ | |
32 extern int interrupt_input; | |
33 | |
34 /* Nonzero while interrupts are temporarily deferred during redisplay. */ | |
35 extern int interrupts_deferred; | |
36 | |
37 /* Terminal has meta key */ | |
38 extern int meta_key; | |
39 | |
776 | 40 /* Nonzero means truncate lines in all windows less wide than the frame */ |
486 | 41 extern int truncate_partial_width_windows; |
52401 | 42 |
53225
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
43 /* Nonzero means no need to redraw the entire frame on resuming a suspended |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
44 Emacs. This is useful on terminals with multiple pages, where one page is |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
45 used for Emacs and another for all else. */ |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
46 extern int no_redraw_on_reenter; |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
47 |
52401 | 48 /* arch-tag: 35d4d284-dc1a-4fff-97fa-0154a21aebdb |
49 (do not change this comment) */ |