1217309Snwhitehorn#! /bin/sh 2217309Snwhitehorn# $Id: checklist10,v 1.9 2010/01/13 10:20:03 tom Exp $ 3217309Snwhitehorn# zero-width column 4217309Snwhitehorn 5217309Snwhitehorn. ./setup-vars 6217309Snwhitehorn 7217309Snwhitehorn. ./setup-tempfile 8217309Snwhitehorn 9217309Snwhitehorn$DIALOG \ 10217309Snwhitehorn --backtitle "No such organization" \ 11217309Snwhitehorn --title "CHECKLIST BOX" "$@" \ 12217309Snwhitehorn --checklist "Hi, this is a checklist box. You can use this to \n\ 13217309Snwhitehornpresent a list of choices which can be turned on or \n\ 14217309Snwhitehornoff. If there are more items than can fit on the \n\ 15217309Snwhitehornscreen, the list will be scrolled. You can use the \n\ 16217309SnwhitehornUP/DOWN arrow keys, the first letter of the choice as a \n\ 17217309Snwhitehornhot key, or the number keys 1-9 to choose an option. \n\ 18217309SnwhitehornPress SPACE to toggle an option on/off. \n\n\ 19217309Snwhitehorn Which of the following are fruits?" 20 61 5 \ 20217309Snwhitehorn Dialog "" on \ 21217309Snwhitehorn Readline "" off \ 22217309Snwhitehorn Gnome "" off \ 23217309Snwhitehorn Kde "" off \ 24217309Snwhitehorn Editor "" off \ 25217309Snwhitehorn Noninteractive "" on \ 26217309Snwhitehorn 2> $tempfile 27217309Snwhitehorn 28217309Snwhitehornretval=$? 29217309Snwhitehorn 30217309Snwhitehorn. ./report-tempfile 31