Mercurial > emacs
annotate msdos/sed1v2.inp @ 53232:22aaf1e5fbe6
Full support for multiple terminal I/O (with some rough edges).
lib-src/emacsclient.c (emacs_pid): New variable.
(window_change): Forward the SIGWINCH signal to the Emacs process
after copying the size parameters to the proxy terminal.
(copy_from_to): New parameter (sigio), kill Emacs with SIGIO if it is
nonzero.
(main): Set emacs_pid.
lisp/server.el (server-process-filter): Send the pid of Emacs to emacsclient.
src/cm.c: Added tty parameters to all functions and all Wcm macro calls.
src/cm.h: Added tty parameters to all macros. Updated function prototypes.
(Wcm): Moved to struct tty_output.
src/dispextern.h: Updated function prototypes.
src/dispnew.c: Added tty parameters to all Wcm macro calls.
(do_switch_frame): Make old frame obscured, not invisible, to solve
problems with other-frame.
(Wcm): Moved to struct tty_output.
src/keyboard.c (read_avail_input): Select the frame corresponding to
the tty that was read. Slight rearrangement of tty loop.
src/lisp.h (tabs_safe_p): Removed duplicate prototype.
src/sysdep.c (hft_init, hft_reset): Added tty_output parameter.
(discard_tty_input): Discard input from all ttys on APOLLO, too.
Whatever it is.
(narrow_foreground_group, widen_foreground_group): Added tty parameter
(not really useful, the functions only work on the controlling tty.)
(tabs_safe_p): Added tty parameter.
src/term.c Added tty parameters to all Wcm macro calls.
Standardised updating_frame vs. selected frame and tty_output access.
(term_init): Allocate Wcm.
(syms_of_term): Provide the `multi-tty' feature.
src/termchar.h (struct tty_output): Added Wcm.
src/xdisp.c (try_window_id): Make sure we use the tty device
corresponding to the current frame.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-8
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 27 Dec 2003 01:12:57 +0000 |
parents | 695cf19ef79e |
children | 1b2b9477e204 375f2633d815 |
rev | line source |
---|---|
14967 | 1 # -sed1v2.inp----------------------------------------------------------- |
30119
c690de255e56
Set LIBSOUND to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
29923
diff
changeset
|
2 # Configuration script for src/Makefile under DJGPP v2.x |
14967 | 3 # ---------------------------------------------------------------------- |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
4 # |
43803 | 5 # Copyright (C) 1996, 1997, 1999, 2000, 2002 |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
6 # Free Software Foundation, Inc. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
8 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
10 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
11 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
18 # ---------------------------------------------------------------------- |
14967 | 19 s/^#.*// |
20 s/^[ \f\t][ \f\t]*$// | |
21 s/^ / / | |
22 s/\.h\.in/.h-in/ | |
26497
d7fc0ed0cd81
sed2.inp (HAVE_TM_GMTOFF, HAVE_MBLEN): Define.
Eli Zaretskii <eliz@gnu.org>
parents:
24748
diff
changeset
|
23 /^ LC_ALL=C \.\/temacs/i\ |
19800
d0a1da20c8dd
Enlarge the stack size of temacs to 100KB.
Richard M. Stallman <rms@gnu.org>
parents:
19286
diff
changeset
|
24 stubedit temacs.exe minstack=100k |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
25 /^ LC_ALL=C.*temacs/s/LC_ALL=C/set &;/ |
14967 | 26 /^MAKE *=/s/^/# / |
27 /^SHELL *=/s/^/# / | |
28 /^srcdir *=/s/@[^@\n]*@/./ | |
29 /^VPATH *=/s/@[^@\n]*@/./ | |
30 /^CC *=/s/@[^@\n]*@/gcc/ | |
31 /^CPP *=/s/@[^@\n]*@/gcc -e/ | |
24748
8c634c8d8401
Use -gcoff instead of -g in CFLAGS, for those who
Eli Zaretskii <eliz@gnu.org>
parents:
19800
diff
changeset
|
32 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/ |
19286
64f0f84b04f3
(CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents:
18769
diff
changeset
|
33 /^CPPFLAGS *=/s/@[^@\n]*@// |
64f0f84b04f3
(CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents:
18769
diff
changeset
|
34 /^LDFLAGS *=/s/@[^@\n]*@// |
28587 | 35 /^LIBS *=/s/@[^@\n]*@// |
30276
323c60449a68
Put getloadavg.o into LIBOBJS, not GETLOADAVG_LIBS.
Eli Zaretskii <eliz@gnu.org>
parents:
30119
diff
changeset
|
36 /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/ |
323c60449a68
Put getloadavg.o into LIBOBJS, not GETLOADAVG_LIBS.
Eli Zaretskii <eliz@gnu.org>
parents:
30119
diff
changeset
|
37 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@// |
30119
c690de255e56
Set LIBSOUND to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
29923
diff
changeset
|
38 /^LIBSOUND *=/s/@LIBSOUND@// |
52310
9404019958f3
(EXEEXT): Define to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
44035
diff
changeset
|
39 /^EXEEXT *=/s/@EXEEXT@// |
14967 | 40 /^LN_S *=/s/@[^@\n]*@/ln -s/ |
41 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! | |
42 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! | |
43 /^@SET_MAKE@$/s/@SET_MAKE@// | |
44 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! | |
45 /^.\${libsrc}make-doc/s!>.*$!! | |
46 /^[ ]*$/d | |
47 /^temacs:/s/prefix-args// | |
18769
48fd714b8115
Remove `stamp-oldxmenu' dependency, so
Richard M. Stallman <rms@gnu.org>
parents:
14967
diff
changeset
|
48 /^temacs:/s/stamp-oldxmenu// |
42230
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
49 /^ mv \.\/\.gdbinit/d |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
50 /^ if test -f/c\ |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
51 command.com /c if exist .gdbinit rm -f _gdbinit |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
52 /^ else mv \.\/\.gdbinit/d |
14967 | 53 /^ #/d |
44035
9681dbaee580
Fix editing of the rule for ${libsrc}make-docfile.
Eli Zaretskii <eliz@gnu.org>
parents:
43804
diff
changeset
|
54 /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
55 s/bootstrap-emacs/b-emacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
56 s/bootstrap-temacs/b-temacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
57 s/bootstrap-doc/b-doc/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
58 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
59 /^ els=/c\ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
60 ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj} |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
61 /^ mv -f emacs/a\ |
43804
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
62 stubify b-emacs\ |
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
63 stubedit b-emacs.exe minstack=1024k\ |
52312
03fac18a1426
Remove src/emacs after producing b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
52310
diff
changeset
|
64 rm -f emacs.exe temacs.exe emacs |
43804
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
65 /^ rm -f/s/\\#/#/ |
52401 | 66 |
67 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c |