2 # $Id: inputmenu4,v 1.8 2010/01/13 10:33:35 tom Exp $
4 # "inputmenu1" with a different label for the extra-button
8 backtitle="An Example for the use of --inputmenu:"
10 ids=`id|sed -e 's/([^)]*)//g'`
11 uid=`echo "$ids" | sed -e 's/^uid=//' -e 's/ .*//'`
12 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'`
18 while test $returncode != 1 && test $returncode != 250
21 value=`$DIALOG --clear --ok-label "Create" \
22 --extra-label "Edit" \
23 --backtitle "$backtitle" "$@" \
24 --inputmenu "Originally I designed --inputmenu for a \
25 configuration purpose. Here is a possible piece of a configuration program." \
39 --backtitle "$backtitle" \
40 --yesno "Really quit?" 10 30
53 --backtitle "$backtitle" \
61 tag=`echo "$value" |sed -e 's/^RENAMED //' -e 's/:.*//'`
62 item=`echo "$value" |sed -e 's/^.*:[ ]*//' -e 's/[ ]*$//'`