|
|
10.3: Prevent Terminal from clearing screen after commands
As a perhaps better solution, you can put "export LESS=X" in your .bashrc (I'd suppose you could put the equivalent in .tcshrc) and ending less won't clear the screen. This may be better in that some progams might have more functionality in xterm (like vim) than they do in vt100.
10.3: Prevent Terminal from clearing screen after commands
sorry, I meant your .bash_profile. Actually put it whereever you would need to for whatever shell (login, interactive, non-login, etc.) you want.
10.3: Prevent Terminal from clearing screen after commands
A good solution except that doing so blew away my aliases and custom prompt.
Did this happen to anyone else?
10.3: Prevent Terminal from clearing screen after commands
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. ---
10.3: Prevent Terminal from clearing screen after commands
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.
10.3: Prevent Terminal from clearing screen after commands
Does anyone know what the .tcsh equivalent is?
10.3: Prevent Terminal from clearing screen after commands
setenv LESS X
10.3: Prevent Terminal from clearing screen after commands
Nice one, this is just what was needed.. Thanx from Down Under |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.97 seconds |
|