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