Friday, July 30, 2004

Changing NetBSD's console colors

Do you remember the good old days (playing with your Amstrad, MSX, ...) where the screen was something like yellow on blue? You can now do this in NetBSD!

Starting from NetBSD 2.0G, code has been added (hmm, by me ;-) to customize the console colors as well as kernel messages from userland. Previous versions allowed the modification of kernel colors, although it had to be done by a kernel rebuild.

As part of the changes, I've added a question to the wscons FAQ explaining how to do it.

For the impatient, to set your screen to look like an Amstrad:

wsconsctl -d -w border=blue msg.default.bg=blue
msg.default.fg=white msg.default.attrs=hilit

2 comments:

Anonymous said...

[Originally published at 2004-08-26 06:38 am UTC]

Does this mean that wscons is working on NetBSD/mac68k? 8-)

I can't remember if I even looked in the 1.6 branch, but I'm 99% sure that wscons wasn't supported in the 1.5 branch. I remember trying to get it working, scratching my head at the output, and then googling it only to find out it wasn't supported in mac68k.

Thanks for your work on mac68k and the softfloat patch!

Sincerely,
anonymous coward from the mac68k listserv

Julio M. Merino Vidal said...

[Originally published at 2004-08-29 11:44 am UTC]

Yes, it works very well in -current. I also tested 1.6 and wscons worked too, although I didn't get very far because I was trying without the softfloat patch hehe. Cheers.