Remove TMUX support.

After discussion on the mailing list tmux is not used much and since it
was broken for a while remove that support.

Fixes bug 928967.

Change-Id: Iff1eea45190f4ef873c60b3563fe94359702446d
This commit is contained in:
Chmouel Boudjnah 2012-02-09 16:27:58 +01:00 committed by Vishvananda Ishaya
parent e830a780f0
commit 36867add0e

View File

@ -1236,17 +1236,12 @@ fi
function screen_it {
NL=`echo -ne '\015'`
if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then
if [[ "$USE_TMUX" =~ "yes" ]]; then
tmux new-window -t stack -a -n "$1" "bash"
tmux send-keys "$2" C-M
else
screen -L -S stack -X screen -t $1
# sleep to allow bash to be ready to be send the command - we are
# creating a new window in screen and then sends characters, so if
# bash isn't running by the time we send the command, nothing happens
sleep 1.5
screen -L -S stack -p $1 -X stuff "$2$NL"
fi
screen -S stack -X screen -t $1
# sleep to allow bash to be ready to be send the command - we are
# creating a new window in screen and then sends characters, so if
# bash isn't running by the time we send the command, nothing happens
sleep 1.5
screen -S stack -p $1 -X stuff "$2$NL"
fi
}