Mercurial > emacs
annotate src/termopts.h @ 83103:efc0b56b83d9
Another server.el overhaul.
lib-src/emacsclient.c (xstrdup): New function.
(quote_argument): Use xmalloc, not malloc.
(main): Send environment variable values.
lisp/server.el (server-clients): Documentation update.
(server-ttys, server-frames): Removed.
(server-client, server-client-get, server-client-set)
(server-clients-with, server-add-client)
(server-delete-client): New functions.
(server-sentinel, server-handle-suspend-tty)
(server-handle-delete-tty, server-handle-delete-frame)
(server-start, server-process-filter, server-visit-files)
(server-buffer-done, server-kill-buffer-query-function)
(server-kill-emacs-query-function, server-switch-buffer): Use them.
(server-log): Handle both kinds of client references.
(server-start): Set up all hooks here.
(server-process-filter): Cleanup. Store version in client.
Handle -env commands for passing environment variable values.
(server-buffer-done): Don't close clients that were created bufferless.
(server-switch-buffer): Only look at frameless clients.
Don't switch away from current buffer if there is no next-buffer.
(server-unload-hook): Remove frame/tty hooks, too.
lisp/server.el (server-quote-arg, server-unquote-arg)
(server-process-filter, server-kill-buffer-query-function)
(server-kill-emacs-query-function): Doc update.
(server-buffer-done, server-switch-buffer): Use buffer-live-p, not
buffer-name.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-143
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 18 Apr 2004 01:34:11 +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) */ |