Subject: black console background on alpha (was Re: alpha console colors)
To: None <port-alpha@netbsd.org>
From: Andrew Hobgood <chaos@strange.net>
List: port-alpha
Date: 02/18/2001 10:57:02
for anyone on here who was interested in the thread last week about console
coloring, and the bright blue misfeature which Jason spoke of... I hunted
down where it was happening...

sys/dev/ic/vga.c:454

                res = vga_alloc_attr(scr, WSCOL_WHITE, WSCOL_BLUE,
		                     WSATTR_WSCOLORS, attrp);

I just added an #ifdef around it, using WSCOL_BLACK if I set the option,
and boom... it's working now.

#ifdef DEC_BLACK_CONSOLE
                res = vga_alloc_attr(scr, WSCOL_WHITE, WSCOL_BLACK,
		                     WSATTR_WSCOLORS, attrp);
#else
		res = vga_alloc_attr(scr, WSCOL_WHITE, WSCOL_BLUE,
				     WSATTR_WSCOLORS, attrp);
#endif /* DEC_BLACK_CONSOLE */

Cheers,

/Andrew