1217309Snwhitehorn#!/bin/sh 2217309Snwhitehorn# $Id: yesno-both,v 1.5 2010/01/13 10:40:39 tom Exp $ 3217309Snwhitehorn 4217309Snwhitehorn. ./setup-vars 5217309Snwhitehorn 6217309Snwhitehorn$DIALOG --title "YES/NO/MAYBE BOX" \ 7217309Snwhitehorn --clear \ 8217309Snwhitehorn --ok-label "Next" \ 9217309Snwhitehorn --no-label "Cancel" \ 10217309Snwhitehorn --extra-label "Previous" --extra-button \ 11217309Snwhitehorn --help-button "$@" \ 12217309Snwhitehorn --yesno "Hi, this is a yes/no dialog box with its labels changed. \ 13217309Snwhitehorn You can use this to ask \ 14217309Snwhitehorn questions that have an answer of either yes or no (or maybe). \ 15217309Snwhitehorn BTW, do you notice that long lines will be automatically \ 16217309Snwhitehorn wrapped around so that they can fit in the box? You can \ 17217309Snwhitehorn also control line breaking explicitly by inserting \ 18217309Snwhitehorn 'backslash n' at any place you like, but in this case, \ 19217309Snwhitehorn auto wrap around will be disabled and you will have to \ 20217309Snwhitehorn control line breaking yourself." 15 61 21217309Snwhitehorn 22217309Snwhitehornretval=$? 23217309Snwhitehorn 24217309Snwhitehorn. ./report-yesno 25