1217309Snwhitehorn#! /bin/sh 2217309Snwhitehorn# $Id: checklist-utf8,v 1.12 2010/01/13 10:20:03 tom Exp $ 3217309Snwhitehorn 4217309Snwhitehorn. ./setup-vars 5217309Snwhitehorn 6217309Snwhitehorn. ./setup-tempfile 7217309Snwhitehorn 8217309Snwhitehorn. ./setup-utf8 9217309Snwhitehorn 10217309Snwhitehorn$DIALOG --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 "���������������" "It's an ���������������." off \ 21217309Snwhitehorn "���������" "No, that's not my ���������." ON \ 22217309Snwhitehorn "������������������" "Yeah, that's ���������������." off \ 23217309Snwhitehorn "���������������������" "Normally not a ���������." off \ 24217309Snwhitehorn "���������" "No, never put a ��������� and a ��������� together!" oN \ 25217309Snwhitehorn "������������" "Cats like ������������." On \ 26217309Snwhitehorn "���������������" "You ������������ how it ������������������." on 2> $tempfile 27217309Snwhitehorn 28217309Snwhitehornretval=$? 29217309Snwhitehorn 30217309Snwhitehorn. ./report-tempfile 31