1*4c8945a0SNathan Whitehorn#!/bin/sh 2*4c8945a0SNathan Whitehorn# $Id: menubox8,v 1.7 2010/01/13 10:34:32 tom Exp $ 3*4c8945a0SNathan Whitehorn 4*4c8945a0SNathan Whitehorn. ./setup-vars 5*4c8945a0SNathan Whitehorn 6*4c8945a0SNathan Whitehornexec 3>&1 7*4c8945a0SNathan WhitehornRESULT=`$DIALOG --help-button \ 8*4c8945a0SNathan Whitehorn --default-item "MSDOS" \ 9*4c8945a0SNathan Whitehorn --clear \ 10*4c8945a0SNathan Whitehorn --title "MENU BOX" "$@" \ 11*4c8945a0SNathan Whitehorn --menu "Hi, this is a menu box. You can use this to \n\ 12*4c8945a0SNathan Whitehornpresent a list of choices for the user to \n\ 13*4c8945a0SNathan Whitehornchoose. If there are more items than can fit \n\ 14*4c8945a0SNathan Whitehornon the screen, the menu will be scrolled. \n\ 15*4c8945a0SNathan WhitehornYou can use the UP/DOWN arrow keys, the first \n\ 16*4c8945a0SNathan Whitehornletter of the choice as a hot key, or the \n\ 17*4c8945a0SNathan Whitehornnumber keys 1-9 to choose an option.\n\ 18*4c8945a0SNathan WhitehornTry it now!\n\n\ 19*4c8945a0SNathan Whitehorn Choose the OS you like:" 20 51 4 \ 20*4c8945a0SNathan Whitehorn "Linux" "The Great Unix Clone for 386/486" \ 21*4c8945a0SNathan Whitehorn "NetBSD" "Another free Unix Clone for 386/486" \ 22*4c8945a0SNathan Whitehorn "OS/2" "IBM OS/2" \ 23*4c8945a0SNathan Whitehorn "WIN NT" "Microsoft Windows NT" \ 24*4c8945a0SNathan Whitehorn "PCDOS" "IBM PC DOS" \ 25*4c8945a0SNathan Whitehorn "MSDOS" "Microsoft DOS" \ 26*4c8945a0SNathan Whitehorn2>&1 1>&3` 27*4c8945a0SNathan Whitehornretval=$? 28*4c8945a0SNathan Whitehornexec 3>&- 29*4c8945a0SNathan Whitehorn 30*4c8945a0SNathan Whitehorn. ./report-string 31