Date: Mon, 5 Mar 2001 14:43:40 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/syscons scterm-sc.c Message-ID: <200103052243.f25Mhep98581@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/03/05 14:43:39 PST
Modified files:
sys/dev/syscons scterm-sc.c
Log:
The SRM console gets the red and blue attributes backwards in the VGA
palette. As a result, the colors on the video console can look rather
weird. For example, sysinstall on the alpha has a read background. We
can work around this partially by remapping the colors used by syscons for
the ANSI color escape sequences. Note that screen savers and anything that
sets the colors explicitly will still get incorrect colors, but programs
such as sysinstall will now use the correct colors. A more correct fix
would be to actually fix the VGA palette on boot by either swapping all
the red and blue attributes or by hardcoding a standard palette and
overwriting the entire palette.
Requested by: gallatin
Obtained from: NetBSD
Revision Changes Path
1.13 +13 -1 src/sys/dev/syscons/scterm-sc.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103052243.f25Mhep98581>
