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