Closed GoogleCodeExporter closed 8 years ago
screen maintains its own scrollback buffer independent of mintty's, which indeed
cannot be accessed using the scroll bar. You need to use screen's key
combinations
for the purpose instead. See the screen manual for details.
Original comment by andy.koppe
on 5 Jan 2010 at 6:28
But when using rxvt plus GNU screen, the scroll bar works. . .
Original comment by h...@markup.co.uk
on 5 Jan 2010 at 9:35
Ah, this is due to a difference between rxvt's and xterm's scrollback handling
on the
so-called "alternate screen", which is a second terminal screen buffer. Rxvt
has a
separate scrollback for the alternate screen and adds scrolled off stuff to
that.
Xterm (and hence mintty) don't do that, on the grounds that the alternate
screen is
intended for fullscreen apps like editors.
Therefore, to get back the behaviour you're used to, you need to stop 'screen'
from
switching to the alternate screen, by putting this into your .screenrc:
terminfo xterm* ti=:te=
However, please note that the scrollback of different screen windows will get
mixed
up (same as in rxvt). If you want to avoid that, you do need to use screen's own
scrollback functionality.
Original comment by andy.koppe
on 5 Jan 2010 at 12:41
The above fix doesn't appear to work in 1.2 beta for 64-bit cygwin???
Original comment by h...@inf.ed.ac.uk
on 4 Jan 2014 at 4:09
The fix worked for me on 1.2beta1 (x64). In case you're running 'sudo screen'
then you need to add the line in .screenrc on root.
Original comment by iamfa...@gmail.com
on 25 Apr 2014 at 9:29
Thanks, but I'm not sure I understand. This is Cygwin, not Linux, so I run
mintty with Admin privileges. My .screenrc, i.e. $HOME/.screenrc, is being
loaded, and has the above line in it. I also just added it to /etc/screenrc,
but I'm still not seeing scrollbar behaviour.
Perhaps you could share your /etc/screenrc and $HOME/.screenrc ?
Original comment by h...@inf.ed.ac.uk
on 25 Apr 2014 at 10:45
My bad, I'm connecting to a remote terminal via ssh so I modified the .screenrc
file there (not locally). Haven't tried it locally so can't confirm if this
works.
Original comment by iamfa...@gmail.com
on 30 Apr 2014 at 10:59
Original issue reported on code.google.com by
h...@markup.co.uk
on 4 Jan 2010 at 9:30