Re: command to clear screen buffer?

Chris Jones <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
On Mon, Apr 29, 2013 at 01:24:19PM EDT, Phil! Gold wrote:
> * Chris Jones <[email protected]> [2013-04-27 17:20 -0400]:

> > One way to do this would be to stick the two commands in a file:
> > 
> > | $ cat $HOME/.scrbuff_screenrc
> > | scrollback 0
> > | scrollback 500
> > 
> > And add something like this to your $HOME/.screenrc
> > 
> > | bind 9 source $HOME/scrbuff_screenrc
> 
> It's much easier to use the 'eval' command directly in your .screenrc:
> 
>     bind 9 eval "scrollback 0" "scrollback 500"
> 
> The quotes are important!

Thanks, Phil.. that's exactly what I meant by elegant..!

CJ

-- 
Focus follow mouse users will burn in hell!!!
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.