menubox2 revision 296373
197403Sobrien#!/bin/sh
297403Sobrien# $Id: menubox2,v 1.7 2010/01/13 10:20:03 tom Exp $
3169691Skan
4169691Skan. ./setup-vars
597403Sobrien
697403Sobrien. ./setup-tempfile
797403Sobrien
897403Sobrien$DIALOG --default-item "MSDOS" --clear --title "MENU BOX" "$@" \
997403Sobrien        --menu "Hi, this is a menu box. You can use this to \n\
1097403Sobrienpresent a list of choices for the user to \n\
1197403Sobrienchoose. If there are more items than can fit \n\
1297403Sobrienon the screen, the menu will be scrolled. \n\
1397403SobrienYou can use the UP/DOWN arrow keys, the first \n\
1497403Sobrienletter of the choice as a hot key, or the \n\
1597403Sobriennumber keys 1-9 to choose an option.\n\
1697403SobrienTry it now!\n\n\
1797403Sobrien          Choose the OS you like:" 20 51 4 \
1897403Sobrien        "Linux"  "The Great Unix Clone for 386/486" \
1997403Sobrien        "NetBSD" "Another free Unix Clone for 386/486" \
2097403Sobrien        "OS/2" "IBM OS/2" \
2197403Sobrien        "WIN NT" "Microsoft Windows NT" \
22169691Skan        "PCDOS"  "IBM PC DOS" \
2397403Sobrien        "MSDOS"  "Microsoft DOS" 2> $tempfile
2497403Sobrien
25132720Skanretval=$?
2697403Sobrien
27117397Skan. ./report-tempfile
28132720Skan