Dear Thomas,
if teTeX is compiled without dialog, system dialog is not used
when texconfig is run without arguments.
When checking if it is OK to use dialog,
texconfig checks for tcdialog utility only.
The result of find_dialogtype is ignored.
Thus if tcdialog was not compiled the check fails and argument
"help" is assumed.
A patch fixing the problem follows.
      Sincerely, Michail
--- texconfig.orig      Mon Oct 21 15:10:52 2002
+++ texconfig   Mon Oct 21 16:33:28 2002
@@ -1864,8 +1864,12 @@
 EDIT=${VISUAL-${EDITOR-$std_editor}}
 PAGER=${PAGER-$std_pager}

-check_for_binary tcdialog >/dev/null
-dialogok=$?
+if test -n "$DIALOG_PROG"; then
+  dialogok=0
+else
+  check_for_binary tcdialog >/dev/null
+  dialogok=$?
+fi

 # we have called some shellfunctions, so for HP-UX's shell, we need
 # to set the positional parameters this again:

Reply via email to