14c8945a0SNathan Whitehorn#!/bin/sh 2*a96ef450SBaptiste Daroussin# $Id: yesno2,v 1.8 2020/11/26 00:05:52 tom Exp $ 34c8945a0SNathan Whitehorn 44c8945a0SNathan Whitehorn. ./setup-vars 54c8945a0SNathan Whitehorn 64c8945a0SNathan Whitehorn$DIALOG --title "YES/NO BOX" "$@" \ 74c8945a0SNathan Whitehorn --yesno "Hi, this is a yes/no dialog box. You can use this to ask \ 84c8945a0SNathan Whitehornquestions that have an answer of either yes or no. \ 94c8945a0SNathan WhitehornBTW, do you notice that long lines will be automatically \ 104c8945a0SNathan Whitehornwrapped around so that they can fit in the box? You can \ 114c8945a0SNathan Whitehornalso control line breaking explicitly by inserting \ 124c8945a0SNathan Whitehorn'backslash n' at any place you like, but in this case, \ 134c8945a0SNathan Whitehornauto wrap around will be disabled and you will have to \ 144c8945a0SNathan Whitehorncontrol line breaking yourself." 0 0 154c8945a0SNathan Whitehorn 16*a96ef450SBaptiste Daroussinreturncode=$? 174c8945a0SNathan Whitehorn 184c8945a0SNathan Whitehorn. ./report-yesno 19