how to change xterm buffer size
I use X11 most of the times in my research. I found the fact that the xterm in X11 (OS X tiger) by default only stores 64 lines that is "scrolled" out and above of the terminal window. This is rather inconvenient since for some large directories, a simple command like "ls" will push much of the contents out of the xterm buffer and you will not able to view them unless you redirect them into a file.
I know that one can open a new xterm window by using:
xterm -sl 1000 &
so you get 1000 line buffer in stead of the default 64.
However, I would also like the initial window to have a 1000 line buffer as well. This saves time and effort to open a new xterm and close the initial one.
Does any one know how (or if) one can do this, for example by setting certain enviroment variables in the .bashrc file (I use bash most of the times)?
Thank you very much,
Lianheng
Powerbook G4 12", Mac OS X (10.4), Dell PC Windows XP