1214501Srpaulo#!/bin/sh 2214501Srpaulo# $Id: yesno-both,v 1.5 2010/01/13 10:40:39 tom Exp $ 3214501Srpaulo 4214501Srpaulo. ./setup-vars 5214501Srpaulo 6214501Srpaulo$DIALOG --title "YES/NO/MAYBE BOX" \ 7214501Srpaulo --clear \ 8214501Srpaulo --ok-label "Next" \ 9214501Srpaulo --no-label "Cancel" \ 10214501Srpaulo --extra-label "Previous" --extra-button \ 11214501Srpaulo --help-button "$@" \ 12214501Srpaulo --yesno "Hi, this is a yes/no dialog box with its labels changed. \ 13214501Srpaulo You can use this to ask \ 14214501Srpaulo questions that have an answer of either yes or no (or maybe). \ 15214501Srpaulo BTW, do you notice that long lines will be automatically \ 16214501Srpaulo wrapped around so that they can fit in the box? You can \ 17214501Srpaulo also control line breaking explicitly by inserting \ 18214501Srpaulo 'backslash n' at any place you like, but in this case, \ 19214501Srpaulo auto wrap around will be disabled and you will have to \ 20214501Srpaulo control line breaking yourself." 15 61 21214501Srpaulo 22214501Srpauloretval=$? 23214501Srpaulo 24214501Srpaulo. ./report-yesno 25214501Srpaulo