Re: screen height issue

Jim Mahood <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <alpine.BSF.2.00.1403151213280.64065@localhost>
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-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.