Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Prevent Terminal from clearing screen after commands' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Prevent Terminal from clearing screen after commands
Authored by: stevec on Nov 05, '03 02:46:01PM
A good solution except that doing so blew away my aliases and custom prompt. Did this happen to anyone else?

[ Reply to This | # ]
10.3: Prevent Terminal from clearing screen after commands
Authored by: EatingPie on Nov 05, '03 03:09:36PM

Not sure what you did to cause this, since you're a subthread of the "LESS=X" branch.

One possibility is that Terminal works as a vt100, but bash still thinks you're xterm-color. Just do a "export TERM=vt100" and your colorization should return.

---
-Pie


[ Reply to This | # ]

10.3: Prevent Terminal from clearing screen after commands
Authored by: gospodin_david on Nov 05, '03 09:42:45PM

essentially, use whatever file you're using for initialization preferences and add that LESS=X to that file. It may be that by putting that line in .bashrc, another dotfile that you have all your settings in was ignored due to the presence of .bashrc.



[ Reply to This | # ]