1*4c8945a0SNathan Whitehorn#!/bin/sh 2*4c8945a0SNathan Whitehorn# $Id: msgbox6a,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 "$@" \ 11*4c8945a0SNathan Whitehorn --msgbox "\ 12*4c8945a0SNathan Whitehorn .a .b .c .d .e .f .g .h .j .i .j .k .l .m .n .o .p .q .r .s .t .u .v .w .x .y .z 13*4c8945a0SNathan Whitehorn .A .B .C .D .E .F .G .H .J .I .J .K .L .M .N .O .P .Q .R .S .T .U .V .W .X .Y .Z 14*4c8945a0SNathan Whitehorn" 10 $width 15*4c8945a0SNathan Whitehorntest $? = $DIALOG_ESC && break 16*4c8945a0SNathan Whitehornwidth=`expr $width + 1` 17*4c8945a0SNathan Whitehorndone 18