On Wed, 12 Mar 2014, Michael Grant wrote:

This brings up another question which I've had for a while.  When you switch 
screens, the scroll buffer in putty above contains leftover stuff from the
other window.  Might it be possible to somehow fill or use some alternate page 
in putty so that the scrollbar worked across screens to scroll back whatever
screen you were in?  One possible way to do this might be to just dump the 
entire screen and it's history lines to fill up the putty buffer each time you
switch screens. 

Are you aware of screen's own per-window history?

You can set the size with:

    defscrollback NUM

...where NUM is a positive integer, to tell screen to keep that many lines of history per window. Note, the 'scrollback' command, as opposed to 'defscrollback', only applies to the current windows, not future ones.

Then you can activate 'copy mode' with the default mapping of ^A^<ESC>, where you can use vi-like commands and arrow keys, pg-up, etc to move around. You can also select text, copy it into screen's own copy/paste buffer, then paste anywhere within screen with ^A^].

Sorry if you already know all of this, but it's worth mentioning in case anyone else is reading who does not.

Best,
Jim
_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to