By "virtual consoles" I mean the terminals accessible with [Ctrl]+[Alt]+[F1-F6]. I just installed Slackware 13.37 with kernel 2.6.37.6-smp. By default the console behaves like a color terminal. The normal text is grey, and many programs (ls, man, emacs, vi, etc.) use other colors as well. But I would really like it to behave like a monochrome terminal: displaying text as normal, underlined, highlighted, or bold, with no colors other than the normal and bold colors. Preferably in amber or green. I'm not using X windows and I plan on spending most of my time within these virtual consoles, so I'm willing to put some work into getting them looking right.
Code:
setterm -foreground yellow -background black -store
If I use setterm to make the text yellow, the normal text looks like a decent amber, but the bold looks like bright yellow. Is there any way I can redefine that bright yellow as a different set of r,g,b values?
If I use setterm to make the text green it looks good enough. But still, using either of these commands does not permanently change the color. It only changes the color of the console from which it was executed. And even then, programs still act like it's a color terminal and print colors. When I reboot the console forgets its previous color settings and is back to the default grey. I want all the consoles to be monochrome all the time, even while booting, if possible.
This website said the problem could be solved by modifying the kernel source in the file "/usr/src/linux/drivers/char/console.c" Unfortunately, I cannot find the file to which they are referring.
I was able to stop ls from displaying in color by disabling the dircolors script and adding some aliases to /etc/profile. But I still don't how to make all the other programs run in monochrome mode.
Thank you for your time and consideration. Any advice is greatly appreciated!
Regards,
trough