xterm
by default uses black text on white background.
To change that to something like "light gray on black", do a
vim ~/.Xresources
...and put this in there:
xterm*background: black
xterm*foreground: lightgray
Afterwards, feed these changes to your current X session:
xrdb ~/.Xresources
Any subsequent xterm
will be colored white on black background.
Hint:
~/.Xresources
file. Just add xterm*faceName: monospace:pixelsize=14
.xterm -bg blue -fg yellow
xterm*background
or xterm*foreground
changes all xterm colors, including menus etc. To change it for the terminal area only, set xterm*vt100.background
and xterm*vt100.foreground
-- unfortunately, -bg
and -fg
will no longer work properly this way.