1217309Snwhitehorn#!/bin/sh
2217309Snwhitehorn# $Id: yesno-extra,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        --yesno "Hi, this is a yes/no dialog box with its labels changed. \
12217309Snwhitehorn                 You can use this to ask \
13217309Snwhitehorn                 questions that have an answer of either yes or no (or maybe). \
14217309Snwhitehorn                 BTW, do you notice that long lines will be automatically \
15217309Snwhitehorn                 wrapped around so that they can fit in the box? You can \
16217309Snwhitehorn                 also control line breaking explicitly by inserting \
17217309Snwhitehorn                 'backslash n' at any place you like, but in this case, \
18217309Snwhitehorn                 auto wrap around will be disabled and you will have to \
19217309Snwhitehorn                 control line breaking yourself." 15 61
20217309Snwhitehorn
21217309Snwhitehornretval=$?
22217309Snwhitehorn
23217309Snwhitehorn. ./report-yesno
24