* Chris Jones <cjns1...@gmail.com> [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!

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to