From f0646edc0ea2ca2eff425f7928c81f41c850fddb Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Thu, 16 Feb 2012 22:29:19 -0600 Subject: [PATCH] * usr/bin/byobu-ctrl-a: - fix regression in byobu-screen ctrl-a handling --- debian/changelog | 2 ++ usr/bin/byobu-ctrl-a | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 083a7bb9..93b09e5d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ byobu (5.12) unreleased; urgency=low * usr/share/byobu/keybindings/f-keys, usr/share/byobu/keybindings/screen-escape-keys: - keybindings for screen to match tmux for consistency + * usr/bin/byobu-ctrl-a: + - fix regression in byobu-screen ctrl-a handling -- Dustin Kirkland Wed, 15 Feb 2012 22:22:12 -0600 diff --git a/usr/bin/byobu-ctrl-a b/usr/bin/byobu-ctrl-a index 4e10c735..bca6e9e9 100755 --- a/usr/bin/byobu-ctrl-a +++ b/usr/bin/byobu-ctrl-a @@ -73,7 +73,7 @@ case "$bind_to" in emacs) case "$BYOBU_BACKEND" in screen) - $BYOBU_SED -i -e "/^register a /d" -e "/^bindkey \"^A\"/d" -e "/^escape escape \^Aa/d" "$keybindings" + $BYOBU_SED -i -e "/^register x /d" -e "/^bindkey \"^A\"/d" -e "/^escape escape \^Aa/d" "$keybindings" echo 'bindkey "^A"' >> "$keybindings" $BYOBU_BACKEND -X at 0 source "$BYOBU_CONFIG_DIR/profile" ;; @@ -89,9 +89,9 @@ case "$bind_to" in screen) case "$BYOBU_BACKEND" in screen) - $BYOBU_SED -i -e "/^register a /d" -e "/^bindkey \"^A\"/d" -e "/^escape /d" "$keybindings" + $BYOBU_SED -i -e "/^register x /d" -e "/^bindkey \"^A\"/d" -e "/^escape /d" "$keybindings" echo 'escape "^Aa"' >> "$keybindings" - echo 'register a "^A"' >> "$keybindings" + echo 'register x "^A"' >> "$keybindings" echo 'bindkey "^A"' >> "$keybindings" $BYOBU_BACKEND -X at 0 source "$BYOBU_CONFIG_DIR/profile" ;;