* 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
This commit is contained in:
Dustin Kirkland 2012-01-15 13:49:12 -06:00
commit 73473b17a2
3 changed files with 10 additions and 1 deletions

6
debian/changelog vendored
View file

@ -31,6 +31,12 @@ byobu (5.3) unreleased; urgency=low
- for users upgrading from an older version of byobu, where they were - for users upgrading from an older version of byobu, where they were
previously using a screen backend, keep them using a screen backend previously using a screen backend, keep them using a screen backend
- for new users, default to tmux 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 ] [ Dustin Kirkland and Ryan Thompson ]
* usr/bin/byobu-reconnect-sockets, usr/bin/byobu-select-session: LP: #908944 * usr/bin/byobu-reconnect-sockets, usr/bin/byobu-select-session: LP: #908944

View file

@ -113,7 +113,7 @@ case $BYOBU_BACKEND in
fi fi
export BYOBU_WINDOWS export BYOBU_WINDOWS
# Launch shell, unless the user has default windows set to launch # 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 # Check if our terminfo supports 256 colors
if command -v tput >/dev/null; then if command -v tput >/dev/null; then
if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then

View file

@ -72,6 +72,9 @@ activity ""
# Fit to the current window size, useful with F5/reloads of the profile # Fit to the current window size, useful with F5/reloads of the profile
fit fit
# Empty shell title by default, maximizes number of windows we can fit, F8 renames easily
shelltitle ""
# Maintain SSH_AUTH_SOCK link # Maintain SSH_AUTH_SOCK link
setenv SSH_AUTH_SOCK $BYOBU_CONFIG_DIR/.ssh-agent setenv SSH_AUTH_SOCK $BYOBU_CONFIG_DIR/.ssh-agent