head	1.2;
access;
symbols
	RELENG_9_1_0_RELEASE:1.2
	RELENG_9_1:1.2.0.6
	RELENG_9_1_BP:1.2
	RELENG_9_0_0_RELEASE:1.2
	RELENG_9_0:1.2.0.4
	RELENG_9_0_BP:1.2
	RELENG_9:1.2.0.2
	RELENG_9_BP:1.2
	RELENG_8_BP:1.2;
locks; strict;
comment	@# @;


1.2
date	2011.04.17.17.28.17;	author nwhitehorn;	state Exp;
branches;
next	1.1;

1.1
date	2011.01.12.14.55.02;	author nwhitehorn;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 220749 on 2011-04-17 17:28:17Z by nwhitehorn

Update dialog to version 1.1-20110302.
@
text
@#! /bin/sh
# $Id: infobox5,v 1.7 2011/01/18 09:19:09 tom Exp $
# get rid of all flickering by constructing a script unroll the loop, leaving
# us in curses-mode until we're done counting.

. ./setup-vars

. ./setup-tempfile

left=10
unit="seconds"
last='\'

cat >>$tempfile <<EOF
$DIALOG $last
EOF

while test $left != 0
do

cat >>$tempfile <<EOF
	--sleep 1 \
	--begin 0 5 \
	--title "INFO BOX" $* \
        --infobox "Hi, this is an information box. It is
different from a message box: it will
not pause waiting for input after displaying
the message. The pause here is only introduced
by the sleep command within dialog.
You have $left $unit to read this..." 0 0 $last
EOF

left=`expr $left - 1`
test $left = 1 && unit="second"
done

echo >>$tempfile

. $tempfile
@


1.1
log
@SVN rev 217309 on 2011-01-12 14:55:02Z by nwhitehorn

Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
@
text
@d2 1
a2 1
# $Id: infobox5,v 1.6 2010/01/13 10:20:03 tom Exp $
d24 1
a24 1
	--title "INFO BOX" "$@@" \
@

