NetBSD-Users archive

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

Re: wsconst changing forground/background colors



Hello RVP

On Fri, Oct 29, 2021 at 9:15 AM RVP <rvp%sdf.org@localhost> wrote:
>
> On Fri, 29 Oct 2021, Riza Dindir wrote:
>
> > Hmmm. I am using the kernel "GENERIC, v 1.531.2.10 2020./07/07
> > 10:29:05" which does not have these options set.
> >
>
> The 9.2_STABLE ALL config has it:
>
> $ fgrep -r WSDISPLAY_CUSTOM /usr/src/sys/arch/amd64/conf/ALL
> options         WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
> options         WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8)

Did not know that. I will look at the ALL configuration.

>
> > Also the source code that I have does not have these options either. I
> > think I got the kernel source from
> > "ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-9.2/source/sets/";. As I did
> > get the release sources.
> >

I meant, if I would go and add these options to the GENERIC
configuration and compile the kernel, would it work? I was assuming
maybe since the GENERIC configuration does not have these, maybe the
code would not be able to use these options, and would not work. But
if the ALL configuration has these, it is worth trying.

>
> Also the source:
>
> $ fgrep -r WSDISPLAY_CUSTOM_OUTPUT /usr/src/sys/dev/wscons/
> /usr/src/sys/dev/wscons/files.wscons:defflag opt_wsmsgattrs.h   WSDISPLAY_CUSTOM_OUTPUT
> /usr/src/sys/dev/wscons/wsdisplay.c:#ifdef WSDISPLAY_CUSTOM_OUTPUT
> /usr/src/sys/dev/wscons/wsemul_vt100.c:#ifdef WSDISPLAY_CUSTOM_OUTPUT
> /usr/src/sys/dev/wscons/wsemul_vt100.c:#endif /* WSDISPLAY_CUSTOM_OUTPUT */
> /usr/src/sys/dev/wscons/wsemul_vt100.c:#ifdef WSDISPLAY_CUSTOM_OUTPUT
> /usr/src/sys/dev/wscons/wsemul_vt100.c:#ifdef WSDISPLAY_CUSTOM_OUTPUT
> /usr/src/sys/dev/wscons/wsemul_vt100.c:#endif /* WSDISPLAY_CUSTOM_OUTPUT */
>
> So it should work.
>
> -RVP
>

Riza


Home | Main Index | Thread Index | Old Index