Mercurial > emacs
view src/s/esix.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 |
line wrap: on
line source
/* Definitions for ESIX, a variant of v.5.3 for the 386. */ /* These are based on reports for ESIX 5.3.2 D. */ #include "usg5-3.h" /* Some versions of V.3 have this, but not all. ESIX does. */ #define HAVE_PTYS #define SYSV_PTYS /* Have -lg be used for debugging. */ #undef LIBS_DEBUG #define LIBS_DEBUG -lg /* If using Roell's X server, define X11R4 */ #ifdef X11R4 /* Roell's X server */ #define select sys_select /* Emacs select() not good enough? */ #undef LIBX11_SYSTEM #define LIBX11_SYSTEM -lpt #endif /* X11R4 */ /* ESIX does not need <sys/sioctl.h>, but needs <sys/ptem.h> */ #define NO_SIOCTL_H #define NEED_PTEM_H #define BROKEN_FIONREAD /* arch-tag: d66e6a70-0812-437d-aa35-9b01bd474941 (do not change this comment) */