yesno-both revision 259065
1292068Ssjg#!/bin/sh 2236769Sobrien# $Id: yesno-both,v 1.5 2010/01/13 10:40:39 tom Exp $ 3236769Sobrien 4292068Ssjg. ./setup-vars 5292068Ssjg 6236769Sobrien$DIALOG --title "YES/NO/MAYBE BOX" \ 7236769Sobrien --clear \ 8292068Ssjg --ok-label "Next" \ 9236769Sobrien --no-label "Cancel" \ 10236769Sobrien --extra-label "Previous" --extra-button \ 11 --help-button "$@" \ 12 --yesno "Hi, this is a yes/no dialog box with its labels changed. \ 13 You can use this to ask \ 14 questions that have an answer of either yes or no (or maybe). \ 15 BTW, do you notice that long lines will be automatically \ 16 wrapped around so that they can fit in the box? You can \ 17 also control line breaking explicitly by inserting \ 18 'backslash n' at any place you like, but in this case, \ 19 auto wrap around will be disabled and you will have to \ 20 control line breaking yourself." 15 61 21 22retval=$? 23 24. ./report-yesno 25