1217309Snwhitehorn#!/bin/sh
2217309Snwhitehorn# $Id: msgbox6a,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 "$@" \
11217309Snwhitehorn        --msgbox "\
12217309Snwhitehorn	.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
13217309Snwhitehorn	.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
14217309Snwhitehorn" 10 $width
15217309Snwhitehorntest $? = $DIALOG_ESC && break
16217309Snwhitehornwidth=`expr $width + 1`
17217309Snwhitehorndone
18