1*4c8945a0SNathan Whitehorn#!/bin/sh 2*4c8945a0SNathan Whitehorn# $Id: msgbox5,v 1.5 2010/01/13 10:26:52 tom Exp $ 3*4c8945a0SNathan Whitehorn# this differs from msgbox3 by making a window small enough to force scrolling. 4*4c8945a0SNathan Whitehorn 5*4c8945a0SNathan Whitehorn. ./setup-vars 6*4c8945a0SNathan Whitehorn 7*4c8945a0SNathan Whitehornwidth=35 8*4c8945a0SNathan Whitehornwhile test $width != 61 9*4c8945a0SNathan Whitehorndo 10*4c8945a0SNathan Whitehorn$DIALOG --title "MESSAGE BOX (width $width)" --clear --no-collapse "$@" \ 11*4c8945a0SNathan Whitehorn --msgbox "\ 12*4c8945a0SNathan Whitehorn H H EEEEE L L OOO 13*4c8945a0SNathan Whitehorn H H E L L O O 14*4c8945a0SNathan Whitehorn HHHHH EEEEE L L O O 15*4c8945a0SNathan Whitehorn H H E L L O O 16*4c8945a0SNathan Whitehorn H H EEEEE LLLLL LLLLL OOO 17*4c8945a0SNathan Whitehorn 18*4c8945a0SNathan WhitehornHi, this is a simple message box. You can use this to \ 19*4c8945a0SNathan Whitehorndisplay any message you like. The box will remain until \ 20*4c8945a0SNathan Whitehornyou press the ENTER key." 10 $width 21*4c8945a0SNathan Whitehorntest $? = $DIALOG_ESC && break 22*4c8945a0SNathan Whitehornwidth=`expr $width + 1` 23*4c8945a0SNathan Whitehorndone 24