* usr/share/byobu/keybindings/f-keys: LP: #839783

- Disable screen messages while entering and scrolling around in
    copy/scrollback mode, but re-enable them afterward; print a
    message about Byobu scrollback mode to "eat" the unnecessary
    and misleading screen messages when using alt-pgup and alt-pgdown
This commit is contained in:
Dustin Kirkland 2011-09-21 17:42:02 -05:00
commit 14ff00988b
2 changed files with 7 additions and 2 deletions

5
debian/changelog vendored
View file

@ -11,6 +11,11 @@ byobu (4.34) unreleased; urgency=low
- proper fix for ec2 by default in cloud instances
* usr/bin/byobu-select-session: LP: #855795
- fix broken select-session support; screen -ls exits 1
* usr/share/byobu/keybindings/f-keys: LP: #839783
- Disable screen messages while entering and scrolling around in
copy/scrollback mode, but re-enable them afterward; print a
message about Byobu scrollback mode to "eat" the unnecessary
and misleading screen messages when using alt-pgup and alt-pgdown
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 08 Sep 2011 14:26:43 -0700

View file

@ -64,9 +64,9 @@ bindkey "^[[31~" only # shift-F5 | kill all splits
# Make it more logical how to enter scrollback
register p "^[[5~"
bindkey "^[[5;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process p' # alt-pageup | scrollback
bindkey "^[[5;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process p' 'msgwait 1' 'echo "Byobu scrollback mode (alt-pgup / alt-pgdown)"' # alt-pageup | scrollback
register n "^[[6~"
bindkey "^[[6;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process n' # alt-pagedn | scrollback
bindkey "^[[6;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process n' 'msgwait 1' 'echo "Byobu scrollback mode (alt-pgup / alt-pgdown)"' # alt-pagedn | scrollback
# Make socket reconnection a little easier
bindkey "^[[15;5~" eval 'process x' 'process r' 'stuff ". $BYOBU_PREFIX/bin/byobu-reconnect-sockets^M"' # ctrl-F5 | reconnect gpg/ssh/x sockets