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