xref: /freebsd/contrib/dialog/samples/checklist9.txt (revision 675be9115aae86ad6b3d877155d4fd7822892105)
1--help-button \
2	--colors \
3	--backtitle "\Z1No Such\Zn Organization" \
4	--separate-output \
5	--title "CHECKLIST BOX" \
6        --checklist "Hi, this is a checklist box. You can use this to \n\
7present a list of choices which can be turned on or \n\
8off. If there are more items than can fit on the \n\
9screen, the list will be scrolled. You can use the \n\
10\Z4UP/DOWN\Zn arrow keys, the first letter of the choice as a \n\
11hot key, or the number keys 1-9 to choose an option. \n\
12Press \Zb\ZrSPACE\Zn to toggle an option on/off. \n\n\
13  Which of the following are fruits?" 20 61 5 \
14        "Apple"      "It's an \Z1apple\Zn. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                    off \
15        "Dog"        "No, that's not my dog. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                  ON  \
16        "Orange"     "Yeah, that's juicy. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                     off \
17        "Chicken"    "Normally not a pet. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                     off \
18        ""           "No such pet. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                            off \
19        "Cat"        "No, never put a dog and a cat together! xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" oN  \
20        "Fish"       "Cats like \Z4fish\Zn. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"                   On  \
21        "Lemon"      "You know how it \Zr\Zb\Z3tastes\Zn. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"     on
22