menubox5 revision 217309
118334Speter#!/bin/sh
290075Sobrien# $Id: menubox5,v 1.9 2010/01/13 10:20:03 tom Exp $
3146895Skan
418334Speter. ./setup-vars
518334Speter
6132718Skan. ./setup-tempfile
718334Speter
8132718Skan$DIALOG --clear --help-button --item-help --title "MENU BOX" "$@" \
918334Speter        --menu "Hi, this is a menu box. You can use this to \n\
1018334Speterpresent a list of choices for the user to \n\
1118334Speterchoose. If there are more items than can fit \n\
1218334Speteron the screen, the menu will be scrolled. \n\
13132718SkanYou can use the UP/DOWN arrow keys, the first \n\
1418334Speterletter of the choice as a hot key, or the \n\
1518334Speternumber keys 1-9 to choose an option.\n\
1618334SpeterTry it now!\n\n\
1718334Speter          Choose the OS you like:" 20 51 4 \
1818334Speter        "Linux"  "The Great Unix Clone for 386/486 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"    "Why use Linux?" \
19132718Skan        "NetBSD" "Another free Unix Clone for 386/486 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "Or NetBSD?" \
20169689Skan        "OS/2"   "IBM OS/2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                            "aka \"Warp\"" \
21169689Skan        "WIN NT" "Microsoft Windows NT xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                "hmm" \
2218334Speter        "WIN 2K" "Microsoft Windows 2000 xxxxxxxxxxxxxxxxxxxxxxxxxxxx"                "hmm" \
2318334Speter        "WIN XP" "Microsoft Windows XP (son of Windows 95) xxxxxxxxxx"                "hmm" \
2450397Sobrien        "WIN 95" "Microsoft Windows 95 (son of MSDOS) xxxxxxxxxxxxxxx"                "hmm" \
25132718Skan        "PCDOS"  "IBM PC DOS xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                          "clone of a clone" \
26132718Skan        "MSDOS"  "Microsoft DOS xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                       "DOS: Disk Operating System, originally for an IBM contract, hence using the same jargon" 2> $tempfile
2718334Speter
2818334Speterretval=$?
2918334Speter
30117395Skan. ./report-tempfile
3118334Speter