1*4c8945a0SNathan Whitehorn#!/bin/sh 2*4c8945a0SNathan Whitehorn# $Id: yesno,v 1.9 2010/01/14 01:11:11 tom Exp $ 3*4c8945a0SNathan Whitehorn 4*4c8945a0SNathan Whitehorn. ./setup-vars 5*4c8945a0SNathan Whitehorn 6*4c8945a0SNathan WhitehornDIALOG_ERROR=254 7*4c8945a0SNathan Whitehornexport DIALOG_ERROR 8*4c8945a0SNathan Whitehorn 9*4c8945a0SNathan Whitehorn$DIALOG --title "YES/NO BOX" --clear "$@" \ 10*4c8945a0SNathan Whitehorn --yesno "Hi, this is a yes/no dialog box. You can use this to ask \ 11*4c8945a0SNathan Whitehorn questions that have an answer of either yes or no. \ 12*4c8945a0SNathan Whitehorn BTW, do you notice that long lines will be automatically \ 13*4c8945a0SNathan Whitehorn wrapped around so that they can fit in the box? You can \ 14*4c8945a0SNathan Whitehorn also control line breaking explicitly by inserting \ 15*4c8945a0SNathan Whitehorn 'backslash n' at any place you like, but in this case, \ 16*4c8945a0SNathan Whitehorn auto wrap around will be disabled and you will have to \ 17*4c8945a0SNathan Whitehorn control line breaking yourself." 15 61 18*4c8945a0SNathan Whitehorn 19*4c8945a0SNathan Whitehornretval=$? 20*4c8945a0SNathan Whitehorn 21*4c8945a0SNathan Whitehorn. ./report-yesno 22