View Single Post
Old 20th February 2012
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Now this is odd. The link kindly pointed out by shep says you can change the console colours without recompiling the kernel by using the wsconsctl(8) utility (in NetBSD). But I tried it and it doesn't work on NetBSD.

First, doing
# wsconsctl -a
doesn't show any of the required variables to exist:
Code:
type=pc-xt
bell.pitch=700
bell.period=100
bell.volume=50
bell.pitch.default=1500
bell.period.default=100
bell.volume.default=50
repeat.del1=200
repeat.deln=50
repeat.del1.default=200
repeat.deln.default=50
ledstate=0
encoding=user.metaesc
keyclick=0
scroll.mode=0
scroll.modifier=1
Then, trying some commands anyway just gives error messages.
# wsconsctl -d -w border=blue
Code:
wsconsctl: WSDISPLAYIO_SBORDER: Inappropriate ioctl for device
# wsconsctl -d -w msg.default.bg=blue
Code:
wsconsctl: WSDISPLAYIO_GMSGATTRS: Operation not supported by device
This is on amd64 with GENERIC kernel, NetBSD 5.99.64. From the link:

Quote:
All of these details can be changed either from kernel options or through the wsconsctl(8) utility; the later may be preferable if you don't want to compile your own kernel, as the default options in GENERIC are suitable to get this tip working.
What am I missing?

[I apologize if it was inappropriate to post this in the OpenBSD part of the forum, but these features were being discussed for both OSs.]

Last edited by IdOp; 20th February 2012 at 10:57 PM.
Reply With Quote