1217309Snwhitehorn#!/bin/sh 2217309Snwhitehorn# $Id: menubox1,v 1.7 2010/01/13 10:20:03 tom Exp $ 3217309Snwhitehorn 4217309Snwhitehorn. ./setup-vars 5217309Snwhitehorn 6217309Snwhitehorn. ./setup-tempfile 7217309Snwhitehorn 8217309Snwhitehorn$DIALOG --default-item "OS/2" --clear --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" \ 19217309Snwhitehorn "NetBSD" "Another free Unix Clone for 386/486" \ 20217309Snwhitehorn "OS/2" "IBM OS/2" \ 21217309Snwhitehorn "WIN NT" "Microsoft Windows NT" \ 22217309Snwhitehorn "PCDOS" "IBM PC DOS" \ 23217309Snwhitehorn "MSDOS" "Microsoft DOS" 2> $tempfile 24217309Snwhitehorn 25217309Snwhitehornretval=$? 26217309Snwhitehorn 27217309Snwhitehorn. ./report-tempfile 28