Change font color xterm
Is there a way to set xterm with a white background and black only text, I know that with the -bg command I set up the background color, but when I run a the man command it displays the manual in different colors, how can I set it to display black font for default?
Sure you can, when you open xterm, or your script does, make sure it has the -foreground switch....ie xterm -foreground black (or red, green, etc)
-fg is simpler I guess
If I want to change the colors, I make an alias in my bash profile.
alias xterm='xterm -fg black'
or any other switched you want, the file to do it is ~/.bashrc
*oops edit* you wanted black only, my mistake
I tried that, but I still get the man pages in different colors, I need them to be always black, (I am colorblind), so I need withe background and black fonts for everything.
How to do it
I guess this is coming in a little late
however, if you havent got it yet, there is an easy way to do it:
Go into your terminal and type in the following:
Save with control x s
When you open a new terminal the changes should be made
|All times are GMT -5. The time now is 08:26 PM.|