]> Sergey Matveev's repositories - mmc.git/commitdiff
Do not close after mmc is exited
authorSergey Matveev <stargrave@stargrave.org>
Mon, 13 Mar 2023 09:59:09 +0000 (12:59 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 13 Mar 2023 09:59:09 +0000 (12:59 +0300)
cmd/start

index b37c2d7d7adcdbdd1df4d60576dfa3a9dd54b1a8..a76e93e07ec4f60cea54fd848440ce2b323acf62 100755 (executable)
--- 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