/usr/share/doc/dvtm/examples/dvtm-status is in dvtm 0.12-1build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
FIFO="/tmp/dvtm-status.$$"
[ -e "$FIFO" ] || mkfifo "$FIFO"
chmod 600 $FIFO
while true; do
date +%H:%M
sleep 60
done > $FIFO &
STATUS_PID=$!
dvtm -s $FIFO "$@" 2> /dev/null
kill $STATUS_PID
rm $FIFO
|