168651Skris#!/bin/sh
268651Skris# $Id: menubox8,v 1.7 2010/01/13 10:34:32 tom Exp $
368651Skris
468651Skris. ./setup-vars
568651Skris
668651Skrisexec 3>&1
768651SkrisRESULT=`$DIALOG --help-button \
868651Skris	--default-item "MSDOS" \
968651Skris	--clear \
1068651Skris	--title "MENU BOX" "$@" \
1168651Skris        --menu "Hi, this is a menu box. You can use this to \n\
1268651Skrispresent a list of choices for the user to \n\
1368651Skrischoose. If there are more items than can fit \n\
1468651Skrison the screen, the menu will be scrolled. \n\
1568651SkrisYou can use the UP/DOWN arrow keys, the first \n\
1668651Skrisletter of the choice as a hot key, or the \n\
1768651Skrisnumber keys 1-9 to choose an option.\n\
1868651SkrisTry it now!\n\n\
1968651Skris          Choose the OS you like:" 20 51 4 \
2068651Skris        "Linux"  "The Great Unix Clone for 386/486" \
2168651Skris        "NetBSD" "Another free Unix Clone for 386/486" \
2268651Skris        "OS/2" "IBM OS/2" \
2368651Skris        "WIN NT" "Microsoft Windows NT" \
2468651Skris        "PCDOS"  "IBM PC DOS" \
2568651Skris        "MSDOS"  "Microsoft DOS" \
2668651Skris2>&1 1>&3`
2768651Skrisretval=$?
2868651Skrisexec 3>&-
2968651Skris
3068651Skris. ./report-string
3168651Skris