|
|
|
|
|
by barrkel
5752 days ago
|
|
In ~/.screenrc: altscreen on
enables alternate screen, which is disabled by default, but is normally enabled in most terminals. It's the thing which prevents less, vi, etc. from clobbering the screen contents and leaving their gunk behind after exiting.(A Google search seems to indicate that some people dislike this feature, but I found screen unusable until I discovered this option.) |
|
In return I give you my favorite screen hack that displays the available RAM on the server every 30 seconds in the caption:
In ~/.screenrc
in ~/.screenrc.bt.2 The caption string above also prints the current window titles and the time/date, so this is also useful for keeping ssh sessions open indefinitely since there is activity at least once a minute when the time updates.