1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 07:01:11 -08:00
emacs/lib-src
Karoly Lorentey 0b0d3e0bce Implemented suspending of emacsclient frames.
lib-src/emacsclient.c (quote_file_name): Renamed to quote_argument.
(unquote_argument, handle_sigcont, handle_sigtstp): New functions.
(out, in): New global variables for communicating with the Emacs process.
(init_signals): Set up handlers for SIGCONT, SIGTSTP and SIGTTOU.
(main): Changed out and in to global variables.  Prepend `-eval' or
'-file' to each argument.  Use fsync to force sending the strings to Emacs.
Removed obsolete -bad-version code.  Support the -suspend command.
Cleaned up newline handling.

lisp/frame.el (suspend-frame): New function.
Substitute key definition of suspend-emacs with suspend-frame.

lisp/server.el (server-log): Cosmetic change in log format.
(server-handle-delete-tty, server-handle-delete-frame): Added logging.
(server-handle-suspend-tty, server-quote-arg): New functions.
(server-start): Install server-handle-suspend-tty.
(server-process-filter): Reorganized source code for clarity.
Implemented -resume, -suspend and -ignore commands.

lisp/term/x-win.el (x-initialize-window-system): Don't change the
binding of C-z.

src/cm.c: Replaced TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT calls with
their macro expansion.
src/dispnew.c: Ditto.
src/frame.c: Ditto.
src/keyboard.c: Ditto.
src/sysdep.c: Ditto.

src/keyboard.c (tty_read_avail_input): Don't read if the terminal is
suspended.
src/sysdep.c (discard_tty_input, init_sys_modes, reset_sys_modes): Ditto.
src/term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Ditto.

src/term.c (Vsuspend_tty_functions, Vresume_tty_functions): New hooks.
(syms_of_term): Defvar them.
(term_init): Don't allow opening a new frame on a suspended tty device.
(Fsuspend_tty, Fresume_tty): New functions.
(syms_of_term): Defsubr them.

src/termchar.c (struct tty_display_info): Update documentation of
input and output.
(TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT): Removed.


git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-105
2004-02-28 01:23:39 +00:00
..
.gitignore Add update-game-score. 2002-04-16 18:26:02 +00:00
b2m.c Add arch taglines 2003-09-01 15:45:59 +00:00
b2m.pl tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 2003-12-24 16:09:13 +00:00
ChangeLog *** empty log message *** 2004-02-16 03:18:25 +00:00
COPYING Moved back. 2001-12-11 07:39:13 +00:00
cvtmail.c Add arch taglines 2003-09-01 15:45:59 +00:00
digest-doc.c Add arch taglines 2003-09-01 15:45:59 +00:00
ebrowse.c Add arch taglines 2003-09-01 15:45:59 +00:00
emacsclient.c Implemented suspending of emacsclient frames. 2004-02-28 01:23:39 +00:00
emacstool.c Add arch taglines 2003-09-01 15:45:59 +00:00
etags.c (consider_token): check C++ `operator' only when the token len is long 2003-09-03 14:20:49 +00:00
fakemail.c Add arch taglines 2003-09-01 15:45:59 +00:00
getopt.c Add arch taglines 2003-09-01 15:45:59 +00:00
getopt.h Add arch taglines 2003-09-01 15:45:59 +00:00
getopt1.c Add arch taglines 2003-09-01 15:45:59 +00:00
grep-changelog Add arch taglines 2003-09-01 15:45:59 +00:00
hexl.c Add arch taglines 2003-09-01 15:45:59 +00:00
leditcfns.c Add arch taglines 2003-09-01 15:45:59 +00:00
make-docfile.c (main): For return code, no longer special-case VMS. 2003-12-24 06:49:23 +00:00
Makefile.in Correct some arch-tag: comment types 2003-09-02 06:06:59 +00:00
makefile.nt Add arch taglines 2003-09-01 15:45:59 +00:00
makefile.w32-in Add arch taglines 2003-09-01 15:45:59 +00:00
movemail.c Add arch taglines 2003-09-01 15:45:59 +00:00
ntlib.c Add arch taglines 2003-09-01 15:45:59 +00:00
ntlib.h Add arch taglines 2003-09-01 15:45:59 +00:00
pop.c Add arch taglines 2003-09-01 15:45:59 +00:00
pop.h Add arch taglines 2003-09-01 15:45:59 +00:00
profile.c Add arch taglines 2003-09-01 15:45:59 +00:00
rcs-checkin Add arch taglines 2003-09-01 15:45:59 +00:00
rcs2log Merged in changes from CVS HEAD 2004-02-17 01:52:25 +00:00
README *** empty log message *** 2003-10-06 16:36:56 +00:00
sorted-doc.c Add arch taglines 2003-09-01 15:45:59 +00:00
test-distrib.c Add arch taglines 2003-09-01 15:45:59 +00:00
testfile # 1999-10-01 12:43:57 +00:00
update-game-score.c Add arch taglines 2003-09-01 15:45:59 +00:00
vcdiff tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 2003-12-24 16:09:13 +00:00
yow.c Add arch taglines 2003-09-01 15:45:59 +00:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by Emacs.