booleanBox() {
$DIALOG --backtitle "$BACKTITLE" --title "$1" \
- --yesno "$2" $HEIGHT $WIDTH
+ `[ "$3" == no ] && echo '--defaultno'` --yesno "$2" $HEIGHT $WIDTH
}
msgBox() {
) | xargs $DIALOG 2> $temp
local status=$?
+ REPLY=
if [ $status = 0 ]; then
IFS=$''
REPLY=`cat $temp`