From 14ff00988b410a3b8d01a9b6e0f5ba140e5338b9 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 21 Sep 2011 17:42:02 -0500 Subject: [PATCH] * 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 --- debian/changelog | 5 +++++ usr/share/byobu/keybindings/f-keys | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index c722fa1a..c0e81c6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 08 Sep 2011 14:26:43 -0700 diff --git a/usr/share/byobu/keybindings/f-keys b/usr/share/byobu/keybindings/f-keys index 8005995d..5e018624 100644 --- a/usr/share/byobu/keybindings/f-keys +++ b/usr/share/byobu/keybindings/f-keys @@ -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