GNU Screen and Less: Overwriting Previous Output

I am switching from multiple tabs in iTerm into one GNU session screen

. In iTerm, I can look at the file from less

, and the contents of the terminal will be restored when I exit less

. In GNU, the screen

previous content is overwritten by the content of the file I was looking at in less

. Is there a way to change this?

+1


a source to share


1 answer


Try adding

altscreen on

      



to your .screenrc.

+7


a source







All Articles