#! /bin/sh # $Id: infobox5,v 1.2 2003/08/15 19:40:37 tom Exp $ # get rid of all flickering by constructing a script unroll the loop, leaving # us in curses-mode until we're done counting. : ${DIALOG=dialog} tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/test$$ trap "rm -f $tempfile" 0 1 2 5 15 left=10 unit="seconds" last='\' cat >>$tempfile <>$tempfile <>$tempfile . $tempfile