1*4c8945a0SNathan Whitehorn#!/bin/sh 2*4c8945a0SNathan Whitehorn# $Id: menubox4,v 1.8 2010/01/13 10:20:03 tom Exp $ 3*4c8945a0SNathan Whitehorn 4*4c8945a0SNathan Whitehorn. ./setup-vars 5*4c8945a0SNathan Whitehorn 6*4c8945a0SNathan Whitehorn. ./setup-tempfile 7*4c8945a0SNathan Whitehorn 8*4c8945a0SNathan Whitehorn$DIALOG --clear --item-help --title "MENU BOX" "$@" \ 9*4c8945a0SNathan Whitehorn --menu "Hi, this is a menu box. You can use this to \n\ 10*4c8945a0SNathan Whitehornpresent a list of choices for the user to \n\ 11*4c8945a0SNathan Whitehornchoose. If there are more items than can fit \n\ 12*4c8945a0SNathan Whitehornon the screen, the menu will be scrolled. \n\ 13*4c8945a0SNathan WhitehornYou can use the UP/DOWN arrow keys, the first \n\ 14*4c8945a0SNathan Whitehornletter of the choice as a hot key, or the \n\ 15*4c8945a0SNathan Whitehornnumber keys 1-9 to choose an option.\n\ 16*4c8945a0SNathan WhitehornTry it now!\n\n\ 17*4c8945a0SNathan Whitehorn Choose the OS you like:" 20 51 4 \ 18*4c8945a0SNathan Whitehorn "Linux" "The Great Unix Clone for 386/486 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "Why use Linux?" \ 19*4c8945a0SNathan Whitehorn "NetBSD" "Another free Unix Clone for 386/486 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "Or NetBSD?" \ 20*4c8945a0SNathan Whitehorn "OS/2" "IBM OS/2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "aka \"Warp\"" \ 21*4c8945a0SNathan Whitehorn "WIN NT" "Microsoft Windows NT xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "hmm" \ 22*4c8945a0SNathan Whitehorn "PCDOS" "IBM PC DOS xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "clone of a clone" \ 23*4c8945a0SNathan Whitehorn "MSDOS" "Microsoft DOS xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "DOS: Disk Operating System, originally for an IBM contract, hence using the same jargon" 2> $tempfile 24*4c8945a0SNathan Whitehorn 25*4c8945a0SNathan Whitehornretval=$? 26*4c8945a0SNathan Whitehorn 27*4c8945a0SNathan Whitehorn. ./report-tempfile 28