* etc/profile.d/Z97-byobu.sh:

- support LC_TERMTYPE=[byobu|byobu-screen|byobu-tmux]
This commit is contained in:
Dustin Kirkland 2012-01-15 11:21:01 -06:00
commit a1d3b29bb0
2 changed files with 10 additions and 0 deletions

2
debian/changelog vendored
View file

@ -22,6 +22,8 @@ byobu (5.3) unreleased; urgency=low
- support ip_address4 and ip_address6 in the status line - support ip_address4 and ip_address6 in the status line
- allows for users to see both ipv4 and ipv6 addresses simultaneously - allows for users to see both ipv4 and ipv6 addresses simultaneously
rather than one or the other rather than one or the other
* etc/profile.d/Z97-byobu.sh:
- support LC_TERMTYPE=[byobu|byobu-screen|byobu-tmux]
[ 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

@ -22,6 +22,14 @@
# b) LC_* is sent and receieved by most /etc/ssh/ssh*_config # b) LC_* is sent and receieved by most /etc/ssh/ssh*_config
if [ "$LC_BYOBU" = "1" ] && [ -r "/usr/bin/byobu-launch" ]; then if [ "$LC_BYOBU" = "1" ] && [ -r "/usr/bin/byobu-launch" ]; then
. /usr/bin/byobu-launch . /usr/bin/byobu-launch
elif [ "$LC_TERMTYPE" = "byobu" ] && [ -r "/usr/bin/byobu-launch" ]; then
. /usr/bin/byobu-launch
elif [ "$LC_TERMTYPE" = "byobu-screen" ] && [ -r "/usr/bin/byobu-launch" ]; then
export BYOBU_BACKEND="screen"
. /usr/bin/byobu-launch
elif [ "$LC_TERMTYPE" = "byobu-tmux" ] && [ -r "/usr/bin/byobu-launch" ]; then
export BYOBU_BACKEND="tmux"
. /usr/bin/byobu-launch
fi fi
# vi: syntax=sh ts=4 noexpandtab # vi: syntax=sh ts=4 noexpandtab