X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=cmd%2Fstart;h=caae3fa4689d6df9e1079bff850851f42736f52b;hb=07fd6f26d7c59ba728064da7d10c0addf61cfff5;hp=b5e33f91f7d0a8ae454bb8f872e3ef656ff72340;hpb=ea85eed50e4f19a8de2fca93ea9ebbd1b1391c3f;p=mmc.git diff --git a/cmd/start b/cmd/start index b5e33f9..caae3fa 100755 --- a/cmd/start +++ b/cmd/start @@ -7,7 +7,10 @@ $TMUX has-session -t mmc 2>/dev/null && exit mkdir -p users rm -f debug users/status mkfifo debug users/status -[ -s tmux.conf ] || sed "s#NEWWIN#$cmd/newwin# ; s#CATFILE#$cmd/catfile#" < "$cmd"/tmux.conf > tmux.conf +[ -s tmux.conf ] || sed \ + -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,"^O:.*" -e cya,"^A:.*" ; sleep 5 ; clear ; done' $TMUX split-window -v "$cmd/mmc/mmc -debug debug -user-status users/status -newwin $cmd/newwin -notify $cmd/notify | tai64n | tai64nlocal"