screen-users
[Top][All Lists]
Advanced

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

Re: command to clear screen buffer?


From: Phil! Gold
Subject: Re: command to clear screen buffer?
Date: Mon, 29 Apr 2013 13:24:19 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

* Chris Jones <address@hidden> [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!



reply via email to

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