xterm and default settings

xterm visual settings
X11 server whenever started starts xterm as default application. And by defaults the xterm settings are really bright.
All visual settings of xterm can be configured using two ways....(1) a temporary way using menu available at xterm...and (2) by using a .Xdefault file in the home directory of user /home//.Xdefaults

On internet many searches would be available which emphasizes on .Xresources settings which are later merged to xterm settings using xrdb....but I found .Xdefaults much easy.

If .Xdefaults file is not available...just create it and restart the xterm.

Here are my sample settings which enable dark background and with a true type font enabled.
XTerm*background:       black 
XTerm*foreground:       gray 
XTerm*faceName:         Bitstream Vera Serif Mono 
XTerm*faceSize:         11 


xterm or Linux "Esc" key settings
By default through xterm does not clear line if "Esc" key is pressed. Add following settings in .inputrc file of home directory. /home//.inputrc and restart xterm.
 (Incase of latest Ubuntu distributions this setting is not present. Even creating a new file only including following will work for Ubuntu bash shell)

Escape: unix-line-discard

xterm and ls with color
ls command in xterm initially outs data in single color...it does not nicely formats it by color...but enable following settings in .bashrc and see if it works.
alias ls='ls --color=auto' 

Comments