I'd like to share a wscons related script. You can use this to quickly set foreground and background color. This can be essential, if you're using VGA, and may have cabling-issues, but with 80x25,80x40, white on black... subtle, but --trust me-- the eyestrain risk, is still cumulative (IMO :( #!/var/bin/mksh # ^^^--- unique to my system # set fg and bg colors for # bg fg hilight colors="blue red green brown magenta cyan white black" COLUMNS=21 ## this forces single line in select PS3="background color? " wsconsctl -d -w msg.default.bg="${1:-$(select C in $colors ; do case $REPLY in [1-8]) print $C ; break ;; esac ; done)}" PS3="foreground color? " wsconsctl -d -w msg.default.fg="${2:-$(select C in $colors ; do case $REPLY in [1-8]) print $C ; break ;; esac ; done)}" #PS3=hilight wsconsctl -d -w msg.default.attrs=color ##### end 455 bytes color.gz, as above, but with better comments. (As attachment)
Attachment:
color.gz
Description: GNU Zip compressed data