Lines Matching +refs:msg +refs:debug
78 # disable truncating the debug file when initializing). To get child processes
89 # d Sets $debug to 1
125 # Sensible debug function. Override in ~/.bsdconfigrc if desired.
128 # If $debug is set and non-NULL, prints DEBUG info using printf(1) syntax:
135 [ "$debug" ] || return $SUCCESS
161 d) debug=1 ;;
166 f_dprintf "f_debug_init: debug=[%s] debugFile=[%s]" \
167 "$debug" "$debugFile"
172 [ "$debugFile" ] && { [ "${debug+set}" ] || debug=1; }
177 [ "$debug" ] && export debug
181 # Truncate debug file unless requested otherwise. Note that we will
191 f_isset debug || debug=1 # turn debugging on if not set
361 local msg
362 msg=$( printf "$@" )
370 f_dialog_info "$msg"
372 bsddialog --infobox "$msg" 0 0
382 local msg
383 msg=$( printf "$@" )
391 f_dialog_msgbox "$msg"
393 bsddialog --msgbox "$msg" 0 0
404 local msg
405 msg=$( printf "$@" )
407 : ${msg:=${msg_an_unknown_error_occurred:-An unknown error occurred}}
411 f_dialog_msgbox "$msg"
414 dialog --title "${msg_error:-Error}" --msgbox "$msg" 0 0
425 local msg
426 msg=$( printf "$@" )
434 f_dialog_yesno "$msg"
436 bsddialog --yesno "$msg" 0 0
447 local msg
448 msg=$( printf "$@" )
456 f_dialog_noyes "$msg"
458 bsddialog --defaultno --yesno "$msg" 0 0
860 # is enabled a copy of the command and its output is sent to debug (either
878 # debug=1
881 # Produces the following debug output:
889 # debug=1
894 # Produces the following debug output:
902 # debug=1
905 # Produces the following debug output:
913 # debug=1
916 # Produces the following debug output: