GNOME Bugzilla – Bug 420117
Mimic xterm's scrollback and terminfo WRT screen
Last modified: 2015-12-26 12:59:46 UTC
This bug was filed in the Debian BTS. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326227 The bug reporter want behaviour in gnome-terminal similar to xterm when it comes to scrolling back the buffer when one have a screen attached. In xterm this works like, 1, Print some screenfulls of ls -l, 2, Attach a running screen, screen -r 3, Press Shift+PageUp, you see the buffer including the ls -l output of step 1. In gnome-terminal, step 3 does not work. For more details, see the original bug report.
I filed a bug against the VTE using ROXTerm emulator: https://sourceforge.net/tracker/?func=detail&aid=2905143&group_id=124080&atid=698428 regarding a problem where either ROXTerm or gnome-terminal require a reset in order to restore functionality of the scrollbar after reattaching a screen session. It's a related problem, and the workaround suggested by the Debian bug seemed to fix it. See also Bug #332148 regarding 'screen' integration with VTE/gnome-terminal.
We don't show the normal screen's scrollback in the alternate screen on purpose, so closing this WONTFIX.