NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wsconst changing forground/background colors



Hello,

On Sat, Oct 30, 2021 at 2:05 AM RVP <rvp%sdf.org@localhost> wrote:
>
> On Fri, 29 Oct 2021, RVP wrote:
>
> > On Fri, 29 Oct 2021, Riza Dindir wrote:
> >
> >> How is it possible to use the "light" colors defined in the
> >> "src/sys/dev/wscons/wsdisplayvar.h" file with the wsconsctl? Although
> >> in the "console drivers" sections in the guide, it says we can only
> >> use the first 8 colors, it seems.
> >>
> >
> > You'll have to patch wsconsctl to use those "light" colours. However,
> > apart from WSCOL_LIGHT_GREY, the light colours are actually the _bold_
> > variants of the corresponding colours, and so aggravate your case.
> >
>
> Scratch that patch. There's already msg.*.attrs=hilit to do that stuff:
>
> # wsconsctl -d -w msg.default.attrs=color,hilit msg.default.fg=black
> msg.default.attrs -> color,hilit
> msg.default.fg -> black         # grey, actually
> #

Will try that. Thanks.

>
> -RVP
>
>

Riza


Home | Main Index | Thread Index | Old Index