1217309Snwhitehorn#! /bin/sh 2217309Snwhitehorn# $Id: radiolist1,v 1.1 2010/01/17 23:05:14 tom Exp $ 3217309Snwhitehorn 4217309Snwhitehorn. ./setup-vars 5217309Snwhitehorn 6217309Snwhitehorn. ./setup-tempfile 7217309Snwhitehorn 8217309Snwhitehorn$DIALOG --backtitle "No Such Organization" \ 9217309Snwhitehorn --title "RADIOLIST BOX" --clear "$@" \ 10217309Snwhitehorn --radiolist "Hi, this is a radiolist box. You can use this to \n\ 11217309Snwhitehornpresent a list of choices which can be turned on or \n\ 12217309Snwhitehornoff. If there are more items than can fit on the \n\ 13217309Snwhitehornscreen, the list will be scrolled. You can use the \n\ 14217309SnwhitehornUP/DOWN arrow keys, the first letter of the choice as a \n\ 15217309Snwhitehornhot key, or the number keys 1-9 to choose an option. \n\ 16217309SnwhitehornPress SPACE to toggle an option on/off. \n\n\ 17217309Snwhitehorn Which of the following are fruits?" 20 61 5 \ 18217309Snwhitehorn "Apple" "It's an apple." off \ 19217309Snwhitehorn "Dog" "No, that's not my dog." ON \ 20217309Snwhitehorn "Dog2" "No2, that's not my dog." off \ 21217309Snwhitehorn "Dog3" "No3, that's not my dog." off \ 22217309Snwhitehorn "Dog4" "No4, that's not my dog." off \ 23217309Snwhitehorn "Dog5" "No5, that's not my dog." off \ 24217309Snwhitehorn "Dog6" "No6, that's not my dog." off \ 25217309Snwhitehorn "Orange" "Yeah, that's juicy." off \ 26217309Snwhitehorn "Chicken" "Normally not a pet." off \ 27217309Snwhitehorn "Cat" "No, never put a dog and a cat together!" off \ 28217309Snwhitehorn "Fish" "Cats like fish." off \ 29217309Snwhitehorn "Lemon" "You know how it tastes." off 2> $tempfile 30217309Snwhitehorn 31217309Snwhitehornretval=$? 32217309Snwhitehorn 33217309Snwhitehorn. ./report-tempfile 34