1217309Snwhitehorn#!/bin/sh
2217309Snwhitehorn# $Id: yesno,v 1.9 2010/01/14 01:11:11 tom Exp $
3217309Snwhitehorn
4217309Snwhitehorn. ./setup-vars
5217309Snwhitehorn
6217309SnwhitehornDIALOG_ERROR=254
7217309Snwhitehornexport DIALOG_ERROR
8217309Snwhitehorn
9217309Snwhitehorn$DIALOG --title "YES/NO BOX" --clear "$@" \
10217309Snwhitehorn        --yesno "Hi, this is a yes/no dialog box. You can use this to ask \
11217309Snwhitehorn                 questions that have an answer of either yes or no. \
12217309Snwhitehorn                 BTW, do you notice that long lines will be automatically \
13217309Snwhitehorn                 wrapped around so that they can fit in the box? You can \
14217309Snwhitehorn                 also control line breaking explicitly by inserting \
15217309Snwhitehorn                 'backslash n' at any place you like, but in this case, \
16217309Snwhitehorn                 auto wrap around will be disabled and you will have to \
17217309Snwhitehorn                 control line breaking yourself." 15 61
18217309Snwhitehorn
19217309Snwhitehornretval=$?
20217309Snwhitehorn
21217309Snwhitehorn. ./report-yesno
22