]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/dialog/samples/msgbox3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / dialog / samples / msgbox3
1 #!/bin/sh
2 # $Id: msgbox3,v 1.7 2010/01/13 10:26:52 tom Exp $
3
4 . ./setup-vars
5
6 width=35
7 while test $width != 61
8 do
9 $DIALOG --title "MESSAGE BOX (width $width)" --clear --no-collapse "$@" \
10         --msgbox "\
11         H   H EEEEE L     L      OOO
12         H   H E     L     L     O   O
13         HHHHH EEEEE L     L     O   O
14         H   H E     L     L     O   O
15         H   H EEEEE LLLLL LLLLL  OOO
16
17 Hi, this is a simple message box.  You can use this to \
18 display any message you like.  The box will remain until \
19 you press the ENTER key." 15 $width
20 test $? = $DIALOG_ESC && break
21 width=`expr $width + 1`
22 done