[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

read builtin breaks autocompletion

From: Philip Rowlands
Subject: read builtin breaks autocompletion
Date: Fri, 02 Dec 2005 15:23:17 +0000

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-mandrake-linux-gnu' 
-DCONF_VENDOR='mandrake' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H  -I.  -I.. -I../include -I../lib  -D_GNU_SOURCE  -O2 
-fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro 
uname output: Linux medusa-s2 #1 SMP Fri Oct 28 15:59:59 BST 
2005 i686 Intel(R) Xeon(TM) CPU 2.00GHz unknown GNU/Linux
Machine Type: i586-mandrake-linux-gnu

Bash Version: 3.0
Patch Level: 16
Release Status: release


Using the "read" builtin with readline and timeout breaks autocompletion.
On their own, timeout and readline options are fine; this bug only occurs
when they're used together.
I've tried this with bash 2 and 3, and across different Linux vendors.

[ effects due to readline's "show-all-if-ambiguous off" not shown ]
$ bash[TAB]
bash     bash3    bashbug  
$ read -e -t 1
[type nothing, times out after 1 second]
$ bash[TAB]
[ nothing happens, no completions listed ]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]