screen-users
[Top][All Lists]
Advanced

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

Re: screen height issue


From: Michael Grant
Subject: Re: screen height issue
Date: Sat, 15 Mar 2014 18:24:09 +0000

Yes I'm aware of this.   But what would be cool is if the scrollbar could be somehow linked to the scrolling in copy mode.  

One thing I can imagine is just filling the of screen lines each time one changes screens.   This would of course create extra flicker as lines scrolled by.

I have a script that does this bound to a key.

It would be nice if those lines could be filled offscreen somehow.   As in first the visible area was redrawn then the copy area so the user might not notice.

On 15 Mar 2014 17:38, "Jim Mahood" <address@hidden> wrote:
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

reply via email to

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