6
Possible Duplicate:
Using screen, commands like less and man don't clear the screen afterwards
When I quit 'less' in a normal bash, it clears the previous contents displayed by 'less' and shows the bash contents again. This is the defualt behavior and what I desire.
However, when I use 'less' in a 'screen' session (still bash inside the screen session), after quitting it does not erase the contents shown by 'less' and the contents of bash are gone (still having a new bash comand line prompt though).
How can I make it so that less does clear its display after quitting, even though I am using it within a 'screen' session?
Didn't work... uncommenting "altscreen on" did. – cprn – 2014-09-16T12:05:56.560