1217309Snwhitehorn#! /bin/sh 2217309Snwhitehorn# $Id: infobox4,v 1.5 2010/01/13 10:20:03 tom Exp $ 3217309Snwhitehorn 4217309Snwhitehorn. ./setup-vars 5217309Snwhitehorn 6217309Snwhitehornleft=10 7217309Snwhitehornunit="seconds" 8217309Snwhitehornwhile test $left != 0 9217309Snwhitehorndo 10217309Snwhitehorn 11217309Snwhitehorn$DIALOG --sleep 1 \ 12217309Snwhitehorn --begin 0 5 \ 13217309Snwhitehorn --title "INFO BOX" "$@" \ 14217309Snwhitehorn --infobox "Hi, this is an information box. It is 15217309Snwhitehorndifferent from a message box: it will 16217309Snwhitehornnot pause waiting for input after displaying 17217309Snwhitehornthe message. The pause here is only introduced 18217309Snwhitehornby the sleep command within dialog. 19217309SnwhitehornYou have $left $unit to read this..." 0 0 20217309Snwhitehornleft=`expr $left - 1` 21217309Snwhitehorntest $left = 1 && unit="second" 22217309Snwhitehorndone 23