Date: Mon, 16 Aug 1999 15:02:02 +0200 (CEST) From: dada@sbox.tu-graz.ac.at To: FreeBSD-gnats-submit@freebsd.org Subject: kern/13176: cannot set _default_ colours for console Message-ID: <199908161302.PAA01072@localhost.tu-graz.ac.at>
next in thread | raw e-mail | index | archive | help
>Number: 13176 >Category: kern >Synopsis: cannot set _default_ colours for console >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 16 08:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Martin Kammerhofer >Release: FreeBSD 4.0-CURRENT i386 >Organization: Technische Universität Graz >Environment: FreeBSD/i386 >Description: Finally (since version 1.307, 1999/06/22 14:13:31 of syscons.c) it is possible for FreeBSD users to configure console colours without having to patch C/Shell-sources. (Thanks to K. Yokota!) I'd like to add the following lines to my kernel config file: options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" options SC_KERNEL_CONS_ATTR="(FG_YELLOW|BG_BLACK)" options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_BROWN)" However this does not work because config(8) is not smart enough to quote options containing white space and/or shell metacharacters. Adding those options to 'options.i386' and LINT would solve that problem and will bring some colour into the FreeBSD community from the boot stage on. :) >How-To-Repeat: Try to config and build a kernel with the above options. >Fix: Add to /sys/i386/conf/options.i386: SC_NORM_ATTR opt_syscons.h SC_NORM_REV_ATTR opt_syscons.h SC_KERNEL_CONS_ATTR opt_syscons.h SC_KERNEL_CONS_REV_ATTR opt_syscons.h and document those in LINT. See also PR conf/9246 for a one-line patch to fix a similar bug. (allscreens_flag knob of /etc/rc.conf not properly working because of missing redirection of stderr in vidcontrol invocation.) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908161302.PAA01072>