3 ms·
The difficulty of scrolling back in the buffer (C-a ESC PgUp is a longer and more tedious key sequence than Shift+PgUp), and lack of full terminal support (e.g.
by barrkel 17y ago
The difficulty of scrolling back in the buffer (C-a ESC PgUp is a longer and more tedious key sequence than Shift+PgUp), and lack of full terminal support (e.g. man, less, etc. don't restore screen contents on exit) mean I strictly only use screen on ssh connections.
Perhaps the terminal support issue could be worked out with better termcap etc. settings, but I haven't found the answers. I asked questions here:
http://superuser.com/questions/23144/how-to-make-screen-terminal-emulation-act-more-like-xterm-or-rxvt-for-init-uninit http://superuser.com/questions/23144/how-to-make-screen-term...
... but no luck.
- decklin 17y agotry "altscreen on". (see also the -a option, and http://www.gnu.org/software/screen/manual/html_node/Window-Termcap.html http://www.gnu.org/software/screen/manual/html_node/Window-T...).
- barrkel 17y agoThe -a option didn't work, but altscreen on in my ~/.screenrc seems to have worked. Thanks!
- pyre 17y ago> (C-a ESC PgUp is a longer and more tedious key sequence than Shift+PgUp) Try entering Copy Mode ('C-a ['). Once in Copy Mode you can page up and down without any modifiers. Just hit ']' to exit Copy Mode. You can also use the up and down arrows in Copy Mode. It's mostly meant for selecting regions of text to yank, but I find it's the easiest way to access the scrollback buffer.
- barrkel 17y agoC-a ESC is copy mode, as far as I am aware. At least that's what it says down the bottom of the screen when I do it. To be clear, C-a ESC puts me in a mode where I can then freely page through the scrollback buffer with PgUp and PgDn, but the problem is that's 4 key presses required for something that only needs 2 in a normal terminal, and Ctrl (with A), Esc, and PgUp are about as far apart as you can get on a keyboard, which doesn't make for efficiency.
- pyre 17y agoWell, I always just used C-a [ to get into copy mode. Another thing to consider is that once you are in copy mode you don't have to hit or continue to hold down the shift key along with PgUp/PgDn. I personally don't find that to be an annoyance, though. Especially not when stacked up against all of the other benefits you get from using screen.
- barrkel 17y agoI understand. The primary benefits of screen to me is disconnect / reconnect, and as such it's useful for servers, but local terminals, not so much. The other advantage of "rich" support is mousewheel combined with selection: with Cygwin rxvt, I can scroll up, begin a selection with the mouse, and scroll down with the mouse wheel and thereby copy multiple pages of scrollback buffer into the Windows clipboard, ready for e.g. paste in to blog article. The advantage of keyboard-free casual scrollback when I'm writing such articles, checking what I did earlier, is something you learn to take for granted, and is quite obviously missing with screen.