14c8945a0SNathan Whitehorn#!/bin/sh 2*a96ef450SBaptiste Daroussin# $Id: msgbox6a,v 1.6 2019/12/11 00:03:14 tom Exp $ 34c8945a0SNathan Whitehorn# this differs from msgbox3 by making a window small enough to force scrolling. 44c8945a0SNathan Whitehorn 54c8945a0SNathan Whitehorn. ./setup-vars 64c8945a0SNathan Whitehorn 74c8945a0SNathan Whitehornwidth=35 84c8945a0SNathan Whitehornwhile test $width != 61 94c8945a0SNathan Whitehorndo 104c8945a0SNathan Whitehorn$DIALOG --title "MESSAGE BOX (width $width)" --clear "$@" \ 114c8945a0SNathan Whitehorn --msgbox "\ 124c8945a0SNathan 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 134c8945a0SNathan 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 144c8945a0SNathan Whitehorn" 10 $width 15*a96ef450SBaptiste Daroussintest $? = "$DIALOG_ESC" && break 164c8945a0SNathan Whitehornwidth=`expr $width + 1` 174c8945a0SNathan Whitehorndone 18