[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: screen height issue

From: Jim Mahood
Subject: Re: screen height issue
Date: Sat, 15 Mar 2014 13:37:06 -0400 (EDT)
User-agent: Alpine 2.00 (BSF 1167 2008-08-23)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]