dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 7460625fcfd0cdf422f03f0988828fecceee17b6
parent f32db5652e47f99c068761f365adbf1b9e3983fd
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 24 Feb 2015 16:25:33 +0100

dvtm-status: cleanup

Diffstat:
dvtm-status | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dvtm-status b/dvtm-status @@ -2,16 +2,15 @@ FIFO="/tmp/dvtm-status.$$" -[ -e "$FIFO" ] || mkfifo "$FIFO" -chmod 600 $FIFO +[ -p "$FIFO" ] || mkfifo -m 600 "$FIFO" || exit 1 while true; do date +%H:%M sleep 60 -done > $FIFO & +done > "$FIFO" & STATUS_PID=$! -dvtm -s $FIFO "$@" 2> /dev/null +dvtm -s "$FIFO" "$@" 2> /dev/null kill $STATUS_PID wait $STATUS_PID 2> /dev/null -rm $FIFO +rm -f "$FIFO"