annotate src/s/isc4-1.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12713
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "isc3-0.h"
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 /* ISC 4.1 has renamed __setostype, but also has fixed the bug
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 for which we needed to call it; so just do nothing. uddeborg@carmen.se. */
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #undef EXTRA_INITIALIZE
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 #define ISC4_1
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 #undef LIBS_SYSTEM
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 #define LIBS_SYSTEM -linet
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
12913
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
12 /* uddeborg@carmen.se recommends the rest of this file. */
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
13
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
14 /* A special startup file is used when compiling with Posix. */
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
15 #define START_FILES pre-crt0.o /lib/crtp1.o
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
16
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
17 /* -lPW is only needed if not using Gcc. */
12713
449373ed5c62 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 #undef LIB_STANDARD
12913
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
19 #if defined (__GNUC__)
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
20 # define LIB_STANDARD -lcposix -lc /lib/crtn.o
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
21 #else /* !__GNUC__ */
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
22 # define LIB_STANDARD -lPW -lcposix -lc /lib/crtn.o
92c12902ae8d (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12755
diff changeset
23 #endif /* !__GNUC__ */
12755
7a567a79b03b (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12713
diff changeset
24
7a567a79b03b (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12713
diff changeset
25 /* We have Posix termios. */
7a567a79b03b (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12713
diff changeset
26 #define HAVE_TERMIOS
7a567a79b03b (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12713
diff changeset
27 /* According to template.h HAVE_TERMIO and HAVE_TERMIOS shouldn't be */
7a567a79b03b (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12713
diff changeset
28 /* defined at the same time. */
7a567a79b03b (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12713
diff changeset
29 #undef HAVE_TERMIO
41184
556de690adf1 (HAVE_SYS_WAIT_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 14441
diff changeset
30
556de690adf1 (HAVE_SYS_WAIT_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 14441
diff changeset
31 /* ISC 4.1 has sys/wait.h but it does not work right. */
556de690adf1 (HAVE_SYS_WAIT_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 14441
diff changeset
32 #undef HAVE_SYS_WAIT_H
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 41184
diff changeset
33
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 41184
diff changeset
34 /* arch-tag: ec5c77d9-a330-4d93-8117-d2b374531c67
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 41184
diff changeset
35 (do not change this comment) */