|
From: R. B. <ro...@pa...> - 2002-10-21 15:56:32
|
I now understand the problem. It however doesn't mean I know how to
fix properly. When you run this:
> 4: (autofig --version) < /dev/null > /dev/null 2>&1 || {
you are stopping *inside* in a subshell which has had stdin and stdout
redirected to /dev/null. The debugger is using stdout in the subshell
environment to print the prompt on line; but stdout has beeen redirected to
/dev/null.
The faulty code is probably on line 65 of bashdb-cmds.inc:
while read -e -p "..." _bashdb_cmd _bashdb_args <&$_bashdb_input_desc ...
We should redirect output to the debugger's output rather than take
the default stdout which may be nulled. bashdb has a variable $_tty,
(see _bashdb_msg or _bashdb_printf) but a small test and that didn't
work.
Will look at when I get a chance... Perhaps others can su
|