1217309Snwhitehorn#!/bin/sh 2217309Snwhitehorn# $Id: menubox8,v 1.7 2010/01/13 10:34:32 tom Exp $ 3217309Snwhitehorn 4217309Snwhitehorn. ./setup-vars 5217309Snwhitehorn 6217309Snwhitehornexec 3>&1 7217309SnwhitehornRESULT=`$DIALOG --help-button \ 8217309Snwhitehorn --default-item "MSDOS" \ 9217309Snwhitehorn --clear \ 10217309Snwhitehorn --title "MENU BOX" "$@" \ 11217309Snwhitehorn --menu "Hi, this is a menu box. You can use this to \n\ 12217309Snwhitehornpresent a list of choices for the user to \n\ 13217309Snwhitehornchoose. If there are more items than can fit \n\ 14217309Snwhitehornon the screen, the menu will be scrolled. \n\ 15217309SnwhitehornYou can use the UP/DOWN arrow keys, the first \n\ 16217309Snwhitehornletter of the choice as a hot key, or the \n\ 17217309Snwhitehornnumber keys 1-9 to choose an option.\n\ 18217309SnwhitehornTry it now!\n\n\ 19217309Snwhitehorn Choose the OS you like:" 20 51 4 \ 20217309Snwhitehorn "Linux" "The Great Unix Clone for 386/486" \ 21217309Snwhitehorn "NetBSD" "Another free Unix Clone for 386/486" \ 22217309Snwhitehorn "OS/2" "IBM OS/2" \ 23217309Snwhitehorn "WIN NT" "Microsoft Windows NT" \ 24217309Snwhitehorn "PCDOS" "IBM PC DOS" \ 25217309Snwhitehorn "MSDOS" "Microsoft DOS" \ 26217309Snwhitehorn2>&1 1>&3` 27217309Snwhitehornretval=$? 28217309Snwhitehornexec 3>&- 29217309Snwhitehorn 30217309Snwhitehorn. ./report-string 31