Mercurial > emacs
annotate msdos/sed2x.inp @ 83325:9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
* src/data.c (Fterminal_local_value, Fset_terminal_local_value): New functions.
(syms_of_data): Defsubr them.
* lisp/international/encoded-kb.el (encoded-kbd-setup-keymap): Add keymap
parameter. Use it instead of changing key-translation-map directly.
(encoded-kbd-setup-display): Use terminal-local-value and
set-terminal-local-value to access key-translation-map. Remove
debugging messages.
* lisp/international/mule.el (keyboard-coding-system): Test for
encoded-kbd-setup-display, not encoded-kbd-mode.
* src/keyboard.c (syms_of_keyboard): Expand docs of terminal-local
variables to warn about their random bindings.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-365
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 27 Jun 2005 02:08:34 +0000 |
parents | 695cf19ef79e |
children | 3723093a21fd 375f2633d815 |
rev | line source |
---|---|
9571 | 1 # -sed2x.inp------------------------------------------------------------ |
2 # Extra configuration script for src/config.h for DesqView/X | |
3 # ---------------------------------------------------------------------- | |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
4 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
5 # Copyright (C) 1994 |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
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:
9571
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
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:
9571
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
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:
9571
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:
9571
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:
9571
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
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:
9571
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:
9571
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:
9571
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
18 # ---------------------------------------------------------------------- |
9571 | 19 /^#undef HAVE_X_WINDOWS *$/s/undef/define/ |
20 /^#undef HAVE_X11 *$/s/undef/define/ | |
21 /^#undef HAVE_X_MENU *$/s/undef/define/ | |
22 /^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/ | |
23 /^#undef HAVE_XSETWMPROTOCOLS *$/s/undef/define/ | |
24 /^#undef HAVE_SELECT *$/s/undef/define/ | |
52401 | 25 |
26 # arch-tag: 4a41c3ea-eb6c-4e17-8432-307516498e5a |