amd64 wscons: the IRIX Indigo Magic console defaults

The IRIX console (IWsh/winterm app-defaults) is snow on Indigo (#4B0082,
x_eoe/usr/lib/X11/rgb.txt).  wscons can only name the ANSI colours, so the
defaults become WSCOL_LIGHT_WHITE on WSCOL_MAGENTA (ANSI 5, #AA00AA on VGA
text); the exact Indigo needs WSDISPLAYIO_PUTCMAP, which VGA text mode does
not offer.  Kernel messages stay green, on magenta.

GENERIC and XEN3_DOM0, so INSTALL (include GENERIC) and the release kernel
carry it.  Measured: make kernel KERNEL=GENERIC exit=0; opt_wsmsgattrs.h has
WS_DEFAULT_FG=WSCOL_LIGHT_WHITE, WS_DEFAULT_BG=WSCOL_MAGENTA,
WS_KERNEL_FG=WSCOL_GREEN, WS_KERNEL_BG=WSCOL_MAGENTA.
This commit is contained in:
lotherk committed 2026-11-16 14:46:11 +00:00
1 parent 2962fc9ab4
commit 46b08b567e
2 files changed
+11 -2

No files matched your search

+7 -1
View File
@@ -273,8 +273,14 @@ options WSEMUL_VT100 # VT100 / VT220 emulation
#options WSEMUL_DEFAULT="\"vt100\"" # NB: default is "sun" if enabled
# different kernel output - see dev/wscons/wsdisplayvar.h
options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
# Makronix: the IRIX Indigo Magic console, not white on black. wscons names
# only the ANSI colours; ANSI 5 (magenta, #AA00AA on VGA text) is the closest
# to IRIX Indigo (#4B0082). The exact Indigo needs a colormap
# (WSDISPLAYIO_PUTCMAP), which VGA text mode does not offer.
options WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
options WS_DEFAULT_BG=WSCOL_MAGENTA
options WS_KERNEL_FG=WSCOL_GREEN
#options WS_KERNEL_BG=WSCOL_BLACK
options WS_KERNEL_BG=WSCOL_MAGENTA
# customization of console border color
options WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8)
# compatibility to other console drivers
+4 -1
View File
@@ -266,8 +266,11 @@ options WSEMUL_VT100 # VT100 / VT220 emulation
#options WSEMUL_SUN # sun terminal emulation
#options WSEMUL_DEFAULT="\"vt100\"" # NB: default is "sun" if enabled
# different kernel output - see dev/wscons/wsdisplayvar.h
# Makronix: the IRIX Indigo Magic console; see GENERIC.
options WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
options WS_DEFAULT_BG=WSCOL_MAGENTA
options WS_KERNEL_FG=WSCOL_GREEN
#options WS_KERNEL_BG=WSCOL_BLACK
options WS_KERNEL_BG=WSCOL_MAGENTA
# compatibility to other console drivers
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls