Re: command to clear screen buffer?
Phil! Gold <[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
* 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!