Browse code

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

Chmouel Boudjnah authored on 2012/02/10 00:27:58
Showing 1 changed files
... ...
@@ -1284,17 +1284,12 @@ fi
1284 1284
 function screen_it {
1285 1285
     NL=`echo -ne '\015'`
1286 1286
     if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then
1287
-        if [[ "$USE_TMUX" =~ "yes" ]]; then
1288
-            tmux new-window -t stack -a -n "$1" "bash"
1289
-            tmux send-keys "$2" C-M
1290
-        else
1291
-            screen -S stack -X screen -t $1
1292
-            # sleep to allow bash to be ready to be send the command - we are
1293
-            # creating a new window in screen and then sends characters, so if
1294
-            # bash isn't running by the time we send the command, nothing happens
1295
-            sleep 1.5
1296
-            screen -S stack -p $1 -X stuff "$2$NL"
1297
-        fi
1287
+        screen -S stack -X screen -t $1
1288
+        # sleep to allow bash to be ready to be send the command - we are
1289
+        # creating a new window in screen and then sends characters, so if
1290
+        # bash isn't running by the time we send the command, nothing happens
1291
+        sleep 1.5
1292
+        screen -S stack -p $1 -X stuff "$2$NL"
1298 1293
     fi
1299 1294
 }
1300 1295