[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command to clear screen buffer?
From: |
Chris Jones |
Subject: |
Re: command to clear screen buffer? |
Date: |
Mon, 29 Apr 2013 16:32:13 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Apr 29, 2013 at 01:24:19PM EDT, Phil! Gold wrote:
> * 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!
Thanks, Phil.. that's exactly what I meant by elegant..!
CJ
--
Focus follow mouse users will burn in hell!!!