Mercurial > emacs
view src/s/386bsd.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
/* s/ file for 386bsd system. */ /* Get most of the stuff from bsd4.3 */ #include "bsd4-3.h" #undef LIB_STANDARD #define LIB_STANDARD -lc $(GNULIB_VAR) /* The following should be set to /netbsd if you are running netbsd > 0.8 Or just link /netbsd -> /386bsd */ #undef KERNEL_FILE #define KERNEL_FILE "/386bsd" #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) /* Need to use GNU make, as system make has problems */ #define MAKE_COMMAND gmake #define LIBS_DEBUG /* For mem-limits.h. */ #define BSD4_2 /* This affects a declaration in xrdb.c. */ #define DECLARE_GETPWUID_WITH_UID_T /* arch-tag: 8a114892-0863-4285-a4cb-3d66ba2d8e7b (do not change this comment) */