annotate msdos/sedleim.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 03f22f05755c 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24020
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 # -sedleim.inp-----------------------------------------------------------
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2 # Configuration script for leim/Makefile under DJGPP v2.x
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 # ----------------------------------------------------------------------
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 32252
diff changeset
4 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 32252
diff changeset
5 # Copyright (C) 1999, 2000
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 32252
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: 32252
diff changeset
7 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 32252
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: 32252
diff changeset
9 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 32252
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: 32252
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: 32252
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: 32252
diff changeset
13 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 32252
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: 32252
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: 32252
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: 32252
diff changeset
17 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 32252
diff changeset
18 # ----------------------------------------------------------------------
24020
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 /^SHELL *=/c\
25099
00af2bda43f0 (SHELL, MAKESHELL): Use /xyzzy/command as the shell.
Eli Zaretskii <eliz@gnu.org>
parents: 24020
diff changeset
20 SHELL=/xyzzy/command\
00af2bda43f0 (SHELL, MAKESHELL): Use /xyzzy/command as the shell.
Eli Zaretskii <eliz@gnu.org>
parents: 24020
diff changeset
21 MAKESHELL=/xyzzy/command
24020
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 /^version=/d
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 /^prefix=/d
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 /^datadir=/s|@datadir@|../..|
37145
e0b7a9135b1d (srcdir=): Edit @srcdir@ into an absolute file name
Eli Zaretskii <eliz@gnu.org>
parents: 37073
diff changeset
26 /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
24020
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 /^INSTALLDIR=/c\
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 INSTALLDIR=.
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30
32252
62100be6ca6d Don't remove the Unix shell invocations.
Eli Zaretskii <eliz@gnu.org>
parents: 25099
diff changeset
31 /RUN-EMACS *=/,/^$/c\
62100be6ca6d Don't remove the Unix shell invocations.
Eli Zaretskii <eliz@gnu.org>
parents: 25099
diff changeset
32 export EMACSLOADPATH=${buildlisppath}\
62100be6ca6d Don't remove the Unix shell invocations.
Eli Zaretskii <eliz@gnu.org>
parents: 25099
diff changeset
33 RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
62100be6ca6d Don't remove the Unix shell invocations.
Eli Zaretskii <eliz@gnu.org>
parents: 25099
diff changeset
34
24020
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 /^ cd ../c\
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 ${MAKE} -C ../src ${MFLAGS} emacs
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 /else make quail/c\
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 if not exist quail\\nul make quail
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40
37073
678672a4c40e Adapt to changes in leim/Makefile.in's $(TIT) target.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
41 /if \[ -f $@ \]\; then true/d
678672a4c40e Adapt to changes in leim/Makefile.in's $(TIT) target.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
42 /fi$/s/; fi$//
678672a4c40e Adapt to changes in leim/Makefile.in's $(TIT) target.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
43
24020
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 /^leim-list.el:/,/^$/ {
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 /^ if/d
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 /^ else/,/^ fi/d
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 s| *| |
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 /^ --eval/,/; \\$/s|\; \\||
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 }
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51 /^install:/,/^$/c\
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 install: all\
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53
cd4343d3cd01 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54 /^ if test -f/d
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 37145
diff changeset
55
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 37145
diff changeset
56 # arch-tag: 33c5eed1-78bc-4a6e-9d11-cbc7c541b763