I'm very new to screen but have configured my ~/.screenrc file according to various recommendations I've found on the internet. I have one issue with it though which I'm sure could be resolved very easily; I think it's a termcap setting..?
After using less, vim, top, or other programs in standalone bash (on Mac OSX 10.6), upon exiting these programs, the terminal's buffer will clear and the line above the current command line will be the previous command I entered.
However, with screen, when I exit any of these programs, the screen buffer won't clear / refresh and I'll still see what I was looking at inside that program.. Make sense??
e.g. in standalone bash (without screen):-
hostname:~ auser$ vim afile [do stuff in file, then :q to exit]
After exiting I'll see:-
hostname:~ auser$ vim afile hostname:~ auser$
But in screen:-
bash-3.2$ vim afile [do stuff in file, then :q to exit]
After exiting I'll see a whole screen of:-
~ # [Empty lines in vim are represented by these tilda characters. ] ... ~ # [ Every line on the screen is one of these tildas ] bash-3.2$ # [ This is the bottom line in the terminal ]
I hope that makes some sort of sense. Any & all help much appreciated! TIA