Mercurial > emacs
annotate msdos/sed3.inp @ 83416:4513d8dcdfd5
Reimplement and extend support for terminal-local environment variables.
* lisp/termdev.el: New file. Move terminal parameter-related functions
here from frame.el.
(terminal-getenv, with-terminal-environment): Reimplement and extend.
(terminal-setenv, terminal-setenv-internal): New functions.
* lisp/frame.el (make-frame-on-tty, framep-on-display, suspend-frame):
Extend doc string, update parameter names.
(terminal-id, terminal-parameter-alist, terminal-parameters)
(terminal-parameter-p, terminal-parameter, set-terminal-parameter)
(terminal-handle-delete-frame, terminal-getenv, terminal-getenv)
(with-terminal-environment): Move to termdev.el.
* lisp/loadup.el: Load termdev as well.
* lisp/Makefile.in (lisp, shortlisp): Add termdev.elc.
* lisp/makefile.MPW (shortlisp): Ditto.
* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Bind C-z to
`suspend-frame', not `suspend-emacs'.
* lisp/echistory.el (electric-history-map): Ditto.
* lisp/ebrowse.el (ebrowse-electric-list-mode-map): Ditto.
* lisp/ebrowse.el (ebrowse-electric-position-mode-map): Ditto.
* lisp/startup.el (normal-splash-screen): Use `save-buffers-kill-display'
instead of `save-buffers-kill-emacs'.
* lisp/x-win.el (x-initialize-window-system): Add 'global-ok option to
`terminal-getenv'.
* src/term.c (suspend-tty): Update doc string.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-456
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 22 Dec 2005 21:02:45 +0000 |
parents | 3723093a21fd |
children | 067115a6e738 2d92f5c9d6ae |
rev | line source |
---|---|
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
1 # -sed3.inp------------------------------------------------------------- |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
2 # Configuration script for lib-src/makefile |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
3 # ---------------------------------------------------------------------- |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
4 # |
64890
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
52401
diff
changeset
|
5 # Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004, |
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
52401
diff
changeset
|
6 # 2005 Free Software Foundation, Inc. |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
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:
13615
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
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:
13615
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:
13615
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:
13615
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
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:
13615
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:
13615
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:
13615
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
18 # ---------------------------------------------------------------------- |
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
19 /^# DIST: /d |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
20 /^SHELL *=/s/^/# / |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
21 /^CC *=/s/=.*$/=gcc/ |
7407
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
22 # Actually, here we should patch in the exact version number, but only |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
23 # [ce]tags uses it. Don't pass it. This is more update-resistant. |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
24 /-DVERSION=/s/-DVERSION="\\"\${version}\\""// |
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
25 /^configname *=/s/=.*$/=msdos/ |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
26 /^archlibdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
27 /^bindir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
28 /^libdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
29 /^srcdir *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
30 /^VPATH *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
31 /^CFLAGS *=/s!=.*$!=-O2 -g! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
32 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
33 /^LOADLIBES *=/s!=.*$!=! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
34 /^ALLOCA *=/s!=.*$!=alloca.o! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
35 /^INSTALLABLES/s/emacsclient *// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
36 s!^ \./! go32 ./! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
37 /^UTILITIES=/s/ wakeup// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
38 /^UTILITIES=/s/ movemail// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
39 /^UTILITIES=/s/ emacsserver// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
40 /^UTILITIES=/s/ timer// |
10507
de02c5579c5e
Delete mysterious dot. Add comment to protect blank
Richard M. Stallman <rms@gnu.org>
parents:
10385
diff
changeset
|
41 /^all *:/s/$/ make-docfile/ |
13615
3276c8c1843c
Alter test-distrib to test-dis.
Richard M. Stallman <rms@gnu.org>
parents:
10509
diff
changeset
|
42 s!^ go32 ./test-distrib! go32 ./test-dis! |
10385
7826b6c2b6e8
Use coff2exe on make-docfile, instead of go32 when running it.
Karl Heuer <kwzh@gnu.org>
parents:
7407
diff
changeset
|
43 /-o make-docfile/a\ |
10509
49f3296db01d
Fix sed append command to behave as intended.
Karl Heuer <kwzh@gnu.org>
parents:
10507
diff
changeset
|
44 coff2exe make-docfile |
52401 | 45 |
46 # arch-tag: cac6f5c7-3dbf-4e84-9d0c-44f0126f0ea8 |