Mercurial > emacs
annotate src/s/hpux11.h @ 83074:34a7a8f40548
Fix background-mode on terminal frames (Dan Nicolaescu).
lisp/faces.el (frame-set-background-mode): Guess the background mode
on terminal frames from the termcap type string.
(tty-create-frame-with-faces): Switch to the new frame during its setup.
Load the customization library corresponding to the terminal type of the
newly created frame. (Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.)
lisp/startup.el (normal-top-level): Moved background-mode heuristic to
frame-set-background-mode.
src/dispnew.c (init_display): Update the tty-type frame parameter of
the initial terminal frame.
src/frame.h (Qtty, Qtty_type): New externs.
src/term.c (term_init): Update comments.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-114
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 11 Mar 2004 01:11:38 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 cb1bfa1dca4f |
rev | line source |
---|---|
49893
1bcf8d62f4cd
Include hpux10-20.h instead of hpux10.h. Delete #undef of
Juanma Barranquero <lekktu@gmail.com>
parents:
48167
diff
changeset
|
1 #include "hpux10-20.h" |
40578 | 2 |
3 #define HPUX11 | |
4 | |
5 #ifdef POSIX_SIGNALS | |
6 #undef POSIX_SIGNALS | |
7 #endif | |
8 #define POSIX_SIGNALS 1 | |
46299
72e949fc6d1e
(BROKEN_SA_RESTART): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
40578
diff
changeset
|
9 |
72e949fc6d1e
(BROKEN_SA_RESTART): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
40578
diff
changeset
|
10 /* SA_RESTART resets the timeout of `select', so don't use it. */ |
72e949fc6d1e
(BROKEN_SA_RESTART): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
40578
diff
changeset
|
11 #define BROKEN_SA_RESTART |
46414
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
12 |
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
13 /* It does work on HPUX to open the pty's tty in the parent (Emacs), |
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
14 then close and reopen it in the child. */ |
a61f957ee22f
(USG_SUBTTY_WORKS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
46299
diff
changeset
|
15 #define USG_SUBTTY_WORKS |
52401 | 16 |
17 /* arch-tag: f5a3d780-82cd-4a9a-832e-a4031aab788b | |
18 (do not change this comment) */ |