118334Speter#!/bin/sh
290075Sobrien# $Id: msgbox6,v 1.5 2010/01/13 10:26:52 tom Exp $
3132718Skan# this differs from msgbox3 by making a window small enough to force scrolling.
418334Speter
590075Sobrien. ./setup-vars
618334Speter
790075Sobrienwidth=35
890075Sobrienwhile test $width != 61
990075Sobriendo
1090075Sobrien$DIALOG --title "MESSAGE BOX (width $width)" --clear "$@" \
1118334Speter        --msgbox "\
1290075Sobrien	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
1390075Sobrien	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
1490075Sobrien" 10 $width
1590075Sobrientest $? = $DIALOG_ESC && break
1618334Speterwidth=`expr $width + 1`
1718334Speterdone
1890075Sobrien