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
| ... | ... |
@@ -1236,17 +1236,12 @@ fi |
| 1236 | 1236 |
function screen_it {
|
| 1237 | 1237 |
NL=`echo -ne '\015'` |
| 1238 | 1238 |
if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then |
| 1239 |
- if [[ "$USE_TMUX" =~ "yes" ]]; then |
|
| 1240 |
- tmux new-window -t stack -a -n "$1" "bash" |
|
| 1241 |
- tmux send-keys "$2" C-M |
|
| 1242 |
- else |
|
| 1243 |
- screen -L -S stack -X screen -t $1 |
|
| 1244 |
- # sleep to allow bash to be ready to be send the command - we are |
|
| 1245 |
- # creating a new window in screen and then sends characters, so if |
|
| 1246 |
- # bash isn't running by the time we send the command, nothing happens |
|
| 1247 |
- sleep 1.5 |
|
| 1248 |
- screen -L -S stack -p $1 -X stuff "$2$NL" |
|
| 1249 |
- fi |
|
| 1239 |
+ screen -S stack -X screen -t $1 |
|
| 1240 |
+ # sleep to allow bash to be ready to be send the command - we are |
|
| 1241 |
+ # creating a new window in screen and then sends characters, so if |
|
| 1242 |
+ # bash isn't running by the time we send the command, nothing happens |
|
| 1243 |
+ sleep 1.5 |
|
| 1244 |
+ screen -S stack -p $1 -X stuff "$2$NL" |
|
| 1250 | 1245 |
fi |
| 1251 | 1246 |
} |
| 1252 | 1247 |
|