Date: Wed, 22 May 1996 14:40:12 +0200 From: kieber@jerry.xoo.sax.de (Ulf Kieber) To: FreeBSD-gnats-submit@freebsd.org Subject: kern/1236: patch to pcvt_conf.h Message-ID: <199605221240.OAA01017@jerry.xoo.sax.de> Resent-Message-ID: <199605221320.GAA25720@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1236 >Category: kern >Synopsis: some #def's in pcvt_conf.h not braketed by #ifndef's >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 22 06:20:03 PDT 1996 >Last-Modified: >Originator: Ulf Kieber >Organization: SaxNet e. V. >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD jerry.xoo.sax.de 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #15: Tue May 14 22:40:00 MET DST 1996 root@jerry.xoo.sax.de:/usr/src/sys/compile/JERRY i386 >Description: MONO_KERNEL_FG is hard #def'ed to FG_UNDERLINE, hence cannot be changed from the kernel config file. (Underlined output is somewhat harder to read.) >How-To-Repeat: boot on a monochrome console device >Fix: apply following patch *** /sys/i386/isa/pcvt/pcvt_conf.h.orig Tue May 30 10:03:50 1995 --- /sys/i386/isa/pcvt/pcvt_conf.h Mon Mar 4 04:45:53 1996 *************** *** 460,471 **** * emphasize messages from the kernel on color and mono displays. *---------------------------------------------------------------------------*/ ! /* color displays */ #define COLOR_KERNEL_FG FG_LIGHTGREY /* kernel messages, foreground */ #define COLOR_KERNEL_BG BG_RED /* kernel messages, background */ ! /* monochrome displays */ #define MONO_KERNEL_FG FG_UNDERLINE /* kernel messages, foreground */ #define MONO_KERNEL_BG BG_BLACK /* kernel messages, background */ /*---------------------------------- E O F ----------------------------------*/ --- 460,477 ---- * emphasize messages from the kernel on color and mono displays. *---------------------------------------------------------------------------*/ ! #if !defined COLOR_KERNEL_FG /* color displays */ #define COLOR_KERNEL_FG FG_LIGHTGREY /* kernel messages, foreground */ + #endif + #if !defined COLOR_KERNEL_BG #define COLOR_KERNEL_BG BG_RED /* kernel messages, background */ + #endif ! #if !defined MONO_KERNEL_FG /* monochrome displays */ #define MONO_KERNEL_FG FG_UNDERLINE /* kernel messages, foreground */ + #endif + #if !defined MONO_KERNEL_BG #define MONO_KERNEL_BG BG_BLACK /* kernel messages, background */ + #endif /*---------------------------------- E O F ----------------------------------*/ >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605221240.OAA01017>