Debian Codegraph @

samples/yesno-extra

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