Lines Matching +full:home +full:- +full:button
4 # "inputmenu1" with defaultitem, help-button.
6 . ./setup-vars
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/ .*//'`
15 home="$HOME"
22 returntext=`$DIALOG --clear --ok-label "Create" \
23 --backtitle "$backtitle" \
24 --help-button \
25 --help-label "Script" \
26 --default-item "$defaultitem" "$@" \
27 --inputmenu "Originally I designed --inputmenu for a \
33 "HOME:" "$home" \
36 exec 3>&-
41 --textbox "$0" 0 0
45 --clear \
46 --backtitle "$backtitle" \
47 --yesno "Really quit?" 10 30
59 --clear \
60 --backtitle "$backtitle" \
61 --msgbox "useradd \n\
62 -d $home \n\
63 -u $uid \n\
64 -g $gid \n\
68 tag=`echo "$returntext" |sed -e 's/^RENAMED //' -e 's/:.*/:/'`
69 item=`echo "$returntext" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'`
81 HOME:)
82 home="$item"
88 test -n "$tag" && defaultitem="$tag"
92 . ./report-button