1217309Snwhitehorn#!/bin/sh
2217309Snwhitehorn# $Id: msgbox5,v 1.5 2010/01/13 10:26:52 tom Exp $
3217309Snwhitehorn# this differs from msgbox3 by making a window small enough to force scrolling.
4217309Snwhitehorn
5217309Snwhitehorn. ./setup-vars
6217309Snwhitehorn
7217309Snwhitehornwidth=35
8217309Snwhitehornwhile test $width != 61
9217309Snwhitehorndo
10217309Snwhitehorn$DIALOG --title "MESSAGE BOX (width $width)" --clear --no-collapse "$@" \
11217309Snwhitehorn        --msgbox "\
12217309Snwhitehorn	H   H EEEEE L     L      OOO
13217309Snwhitehorn	H   H E     L     L     O   O
14217309Snwhitehorn	HHHHH EEEEE L     L     O   O
15217309Snwhitehorn	H   H E     L     L     O   O
16217309Snwhitehorn	H   H EEEEE LLLLL LLLLL  OOO
17217309Snwhitehorn
18217309SnwhitehornHi, this is a simple message box.  You can use this to \
19217309Snwhitehorndisplay any message you like.  The box will remain until \
20217309Snwhitehornyou press the ENTER key." 10 $width
21217309Snwhitehorntest $? = $DIALOG_ESC && break
22217309Snwhitehornwidth=`expr $width + 1`
23217309Snwhitehorndone
24