From 3a5ab39cb5bede373f6d61c4807a7702e0578789 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 13 Mar 2023 12:59:09 +0300 Subject: [PATCH] Do not close after mmc is exited --- cmd/start | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/start b/cmd/start index b37c2d7..a76e93e 100755 --- a/cmd/start +++ b/cmd/start @@ -11,7 +11,7 @@ mkfifo debug users/status -e "s#NEWWIN#$cmd/newwin#" \ -e "s#CATFILE#$cmd/catfile#" \ -e "s#DLPANE#$cmd/dlpane#" < "$cmd"/tmux.conf > tmux.conf -$TMUX -f tmux.conf new-session -d -n ROOT -s mmc "cat debug | tai64n | tai64nlocal" -$TMUX split-window -h 'while : ; do cat users/status | spc -e grn,"^online:.*" -e cya,"^away:.*" ; sleep 30 ; clear ; done' -$TMUX split-window -v "$cmd/mmc/mmc -debug debug -user-status users/status -newwin $cmd/newwin -notify $cmd/notify | tai64n | tai64nlocal" +$TMUX -f tmux.conf new-session -d -n ROOT -s mmc "cat debug | tai64n | tai64nlocal ; read foo" +$TMUX split-window -h 'while : ; do cat users/status | spc -e grn,"^online:.*" -e cya,"^away:.*" ; sleep 60 ; clear ; done' +$TMUX split-window -v "$cmd/mmc/mmc -debug debug -user-status users/status -newwin $cmd/newwin -notify $cmd/notify | tai64n | tai64nlocal ; read foo" $TMUX attach-session -- 2.44.0