On Fri, 2 Dec 2005, Chet Ramey wrote:

I can't reproduce it, using bash-2.05b and bash-3.0 on MacOS X and Red
Hat Linux.  I don't use any custom completions or the bash-completion
package, though, so I don't know what effect those might have.

Hmm, I did take pains not to have any .inputrc or completion side-effects. A little more digging:

SHELL 1
$ echo $$
$ read -t 1

(gdb) print /x rl_readline_version
$1 = 0x500
(gdb) print /x rl_readline_state
$2 = 0x4000e

RL_STATE_INITIALIZED
RL_STATE_TERMPREPPED
RL_STATE_READCMD
RL_STATE_TTYCSAVED


SHELL 2
$ echo $$
$ read -e -t 1

(gdb) print /x rl_readline_state
$1 = 0x4800e

RL_STATE_INITIALIZED
RL_STATE_TERMPREPPED
RL_STATE_READCMD
RL_STATE_SIGHANDLER
RL_STATE_TTYCSAVED

Does this help narrow down the cause? If not, I'll have to go diving around in the bash source.


Cheers,
Phil


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to