views:

237

answers:

1

I'm in the process of switching from multiple tabs in iTerm to one GNU screen session. In iTerm, I can look at a file with less and the content of the terminal is restored when I quit less. In GNU screen, the previous contents get overwritten by the content of the file I looked at in less. Is there some way to change this?

+4  A: 

Try adding

altscreen on

to your .screenrc.

Justin L.
thanks a lot, this does exactly what I want :)
biocs