1129198Scognet#! /bin/sh 2129198Scognet# $Id: infobox3,v 1.5 2010/01/13 10:20:03 tom Exp $ 3129198Scognet 4129198Scognet. ./setup-vars 5129198Scognet 6129198Scognetleft=10 7129198Scognetunit="seconds" 8129198Scognetwhile test $left != 0 9129198Scognetdo 10129198Scognet 11129198Scognet$DIALOG --sleep 1 \ 12129198Scognet --begin 5 0 \ 13129198Scognet --title "INFO BOX" "$@" \ 14129198Scognet --infobox "Hi, this is an information box. It is 15129198Scognetdifferent from a message box: it will 16129198Scognetnot pause waiting for input after displaying 17129198Scognetthe message. The pause here is only introduced 18129198Scognetby the sleep command within dialog. 19129198ScognetYou have $left $unit to read this..." 0 0 20129198Scognetleft=`expr $left - 1` 21129198Scognettest $left = 1 && unit="second" 22129198Scognetdone 23129198Scognet