Date: Thu, 21 Feb 2002 11:30:14 +0100 From: Florian Nigsch <flo@nigsch.com> To: 72yan M <freedom@72oot.net>, freebsd-questions@freebsd.org Subject: Re: Font color Message-ID: <20020221113014.A36760@nigsch.com> In-Reply-To: <02022020552901.72838@c1529030-a.attbi.com>; from freedom@72oot.net on Wed, Feb 20, 2002 at 08:55:29PM -0800 References: <EOEHJJODFIMKFOCMNABICEACGMAA.selvam@bernama.com> <02022020552901.72838@c1529030-a.attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
There's another way to do this, much simpler than recompiling your kernel. See vidcontrol(1) try 'vidcontrol show' to get a list of the colors, choose yours and then try 'vidcontrol fg bg', for example 'vidcontrol yellow blue' for yellow text on blue background. bye, flo On Wed, Feb 20, 2002 at 08:55:29PM -0800, 72yan M wrote: > Hello, > > The answer is in the kernel and man syscons(4). Add these options: > > # The following options will let you change the default colors of syscons. > options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" > options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" > options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" > options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" > > The colors that I know of are Black, grey, darkgrey, yellow, lightyellow, > red, lightred, lightblue, blue, green, and lightgreen. There should be a list > of colors at #/usr/inclide/machine/pc/display.h, but I have never seen it. > > 72yan M > > > Hi there FreeBSD gurus, > > > > I would like to know how to change the terminal font colors to others > > rather than the normal white? > > Can this be done ? If so, how can I do it. > > Some help will be appreciated. > > > > Selvam > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---end quoted text--- -- --- Florian Nigsch <flo@nigsch.com> http://flo.nigsch.com/ PGP key: http://flo.nigsch.com/fnigsch.asc -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GE d- s: a-- C++ UB++++ P+ L- E--- W N+ o+ K- w-- O-- M- V- PS+ PE Y+ PGP++ 5 X+ R* tv-- b+ DI+++++ D++ G- e* h r* y+++++ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020221113014.A36760>