Is there a way to make Screen scroll like a normal terminal?
I use these settings with urxvt in my ~/.screenrc:
termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07'
Those allow for scrollbar and mouse wheel to do "the right thing™".
Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt
. If it doesn't work, try replacing rxvt
and rxvt-unicode
with the appropriate terminal type (get this by running printf $TERM
.)