Subject: Re: Default color in kernel binary
To: port-hpcsh list <port-hpcsh@netbsd.org>
From: Michael Wileman <jwileman@panix.com>
List: port-hpcsh
Date: 08/26/2005 16:23:00
On Fri, 26 Aug 2005, Valeriy E. Ushakov wrote:
> On Fri, Aug 26, 2005 at 00:52:11 -0400, Michael Wileman wrote:
>
>> In the current snapshot I downloaded, the color is so dark as to be
>> nearly illegible. Is there a way to change this short of compiling
>> my own kernel? Is there a way to submit a request that this be
>> changed in the distribution?
>
> *Sigh*. This has been on my TODO for a long time. I even know how to
> fix it properly, but have no time. The problem is that we run 680
> display in 16 bit mode, so it doesn't used indexed colors internally,
> though wscons do use indexed colors. My idea is to fix the driver so
> that if a colormap change is initiated for the colors 0..15, it
> redirects the request to the rasops instead.
>
> As a workaround, recent kernels have ability to change at least the
> kernel messages and normal console text colors. msg.default.* and
> msg.kernel.* are the controls you need to tweak with wsconsctl(8).
> The choice is limited to ANSI colors (which is no use, as they are all
> too dark), but it should be possible to flip the HILIT attribute.
>
> Kernel option to support it is WSDISPLAY_CUSTOM_OUTPUT, but it's not
> present in hpcsh configs (check i386 for an example). Can someone
> please test it, so that we can put it into GENERIC and have 3.0
> shipped with it enabled?
The kernel I got from Nikos has a nice bright green text, very
readable, and a white on blue background for kernel messages. Nikos,
can you tell us what you did in your config to get this?
Mike