1 4c8945a0SNathan Whitehorn#!/bin/sh 2 *a96ef450SBaptiste Daroussin# $Id: menubox1,v 1.9 2020/11/26 00:03:58 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 --default-item "OS/2" --clear --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" \ 19 4c8945a0SNathan Whitehorn "NetBSD" "Another free Unix Clone for 386/486" \ 20 4c8945a0SNathan Whitehorn "OS/2" "IBM OS/2" \ 21 4c8945a0SNathan Whitehorn "WIN NT" "Microsoft Windows NT" \ 22 *a96ef450SBaptiste Daroussin "PC-DOS" "IBM PC DOS" \ 23 *a96ef450SBaptiste Daroussin "MS-DOS" "Microsoft DOS" 2> $tempfile 24 4c8945a0SNathan Whitehorn 25 *a96ef450SBaptiste Daroussinreturncode=$? 26 4c8945a0SNathan Whitehorn 27 4c8945a0SNathan Whitehorn. ./report-tempfile 28