1217309Snwhitehorn#!/bin/sh
2217309Snwhitehorn# $Id: menubox3,v 1.8 2010/01/13 10:20:03 tom Exp $
3217309Snwhitehorn
4217309Snwhitehorn. ./setup-vars
5217309Snwhitehorn
6217309Snwhitehorn. ./setup-tempfile
7217309Snwhitehorn
8217309Snwhitehorn$DIALOG --clear --item-help --title "MENU BOX" "$@" \
9217309Snwhitehorn        --menu "Hi, this is a menu box. You can use this to \n\
10217309Snwhitehornpresent a list of choices for the user to \n\
11217309Snwhitehornchoose. If there are more items than can fit \n\
12217309Snwhitehornon the screen, the menu will be scrolled. \n\
13217309SnwhitehornYou can use the UP/DOWN arrow keys, the first \n\
14217309Snwhitehornletter of the choice as a hot key, or the \n\
15217309Snwhitehornnumber keys 1-9 to choose an option.\n\
16217309SnwhitehornTry it now!\n\n\
17217309Snwhitehorn          Choose the OS you like:" 20 51 4 \
18217309Snwhitehorn        "Linux"  "The Great Unix Clone for 386/486"    "Why use Linux?" \
19217309Snwhitehorn        "NetBSD" "Another free Unix Clone for 386/486" "Or NetBSD?" \
20217309Snwhitehorn        "OS/2"   "IBM OS/2"                            "aka \"Warp\"" \
21217309Snwhitehorn        "WIN NT" "Microsoft Windows NT"                "hmm" \
22217309Snwhitehorn        "PCDOS"  "IBM PC DOS"                          "clone of a clone" \
23217309Snwhitehorn        "MSDOS"  "Microsoft DOS"                       "DOS: Disk Operating System, originally for an IBM contract, hence using the same jargon" 2> $tempfile
24217309Snwhitehorn
25217309Snwhitehornretval=$?
26217309Snwhitehorn
27217309Snwhitehorn. ./report-tempfile
28