From 73473b17a2c65d8f369b1856e1ae337ee3106700 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sun, 15 Jan 2012 13:49:12 -0600 Subject: [PATCH] * usr/bin/byobu, usr/share/byobu/profiles/common: LP: #882067 - maximize the number of windows we can fit in byobu-screen by dropping the $SHELL window title - users can override by setting 'shelltitle' in ~/.screenrc - fixes a problem where screen hangs when interactively setting shelltitle - always easy to name a window with F8 --- debian/changelog | 6 ++++++ usr/bin/byobu | 2 +- usr/share/byobu/profiles/common | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 8ced1c45..19f018a1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -31,6 +31,12 @@ byobu (5.3) unreleased; urgency=low - for users upgrading from an older version of byobu, where they were previously using a screen backend, keep them using a screen backend - for new users, default to tmux backend + * usr/bin/byobu, usr/share/byobu/profiles/common: LP: #882067 + - maximize the number of windows we can fit in byobu-screen by dropping + the $SHELL window title + - users can override by setting 'shelltitle' in ~/.screenrc + - fixes a problem where screen hangs when interactively setting shelltitle + - always easy to name a window with F8 [ Dustin Kirkland and Ryan Thompson ] * usr/bin/byobu-reconnect-sockets, usr/bin/byobu-select-session: LP: #908944 diff --git a/usr/bin/byobu b/usr/bin/byobu index c4c10f86..7ca2189b 100755 --- a/usr/bin/byobu +++ b/usr/bin/byobu @@ -113,7 +113,7 @@ case $BYOBU_BACKEND in fi export BYOBU_WINDOWS # Launch shell, unless the user has default windows set to launch - uncommented_lines < "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="-t ${SHELL##*/} ${BYOBU_PREFIX}/bin/byobu-shell" + uncommented_lines < "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="${BYOBU_PREFIX}/bin/byobu-shell" # Check if our terminfo supports 256 colors if command -v tput >/dev/null; then if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then diff --git a/usr/share/byobu/profiles/common b/usr/share/byobu/profiles/common index 968efe57..d847aafa 100644 --- a/usr/share/byobu/profiles/common +++ b/usr/share/byobu/profiles/common @@ -72,6 +72,9 @@ activity "" # Fit to the current window size, useful with F5/reloads of the profile fit +# Empty shell title by default, maximizes number of windows we can fit, F8 renames easily +shelltitle "" + # Maintain SSH_AUTH_SOCK link setenv SSH_AUTH_SOCK $BYOBU_CONFIG_DIR/.ssh-agent