#! /bin/sh # $Id$ # get rid of all flickering by constructing a script unroll the loop, leaving # us in curses-mode until we're done counting. # # a little fancier than infobox5, this moves the widget at each step. : ${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