NetBSD-Users archive

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

Re: wsconst changing forground/background colors



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)

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.


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



Home | Main Index | Thread Index | Old Index