screen-users
[Top][All Lists]
Advanced

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

Re: repainting the screen buffer


From: Michael Grant
Subject: Re: repainting the screen buffer
Date: Tue, 13 Mar 2007 11:26:56 +0100

On 3/11/07, Michael Grant <address@hidden> wrote:
In most modern terminal programs like Putty there is a scrollbar and
you can scroll the window up to see previous lines in a local buffer.

Screen also has a scrollback history buffer of saved lines.

Is there some to way to bind a key to get Screen to output it's entire
scrollback buffer so that it "repaints" not only the visible screen
but also the lines above in my terminal's scrollback buffer?

I'm still looking for a way to do this.

I tried 'hardcopy -h /dev/stdout' which I thought should have worked
but it didn't.

'hardcopy -h /tmp/foo' then exec 'cat /tmp/foo' works sort of but I'm
not sure how to bind all that to a key.

There is a slight inconvenience using this method in that the file
/tmp/foo has a trailing newline so the screen scrolls up one line each
time I would redraw it.

I couldn't quite figure out how to do this with copy mode and a register.

Anyone have any better ideas?

Michael Grant




reply via email to

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