completion regression?
Daniel Jacobowitz
drow@false.org
Sun Oct 8 22:08:00 GMT 2006
On Mon, Oct 09, 2006 at 10:41:55AM +1300, Nick Roberts wrote:
>
> Completion doesn't seem to work as well as it used to, e.g in version 5.2. The
> manual doesn't differentiate but AFAICS there are three types: command,
> filename and location. Successful completion now always leaves a trailing
> space but its only really needed for commands (so following words can then be
> typed). It's not needed for locations and is a nuisance for filenames because
> using it on a filename requires the space to be deleted after successfully
> completing on each component/directory. It used to add a slash instead, which
> is much more useful.
Are you sure this isn't just happening for the very first time you do
it? This is a known bug, and I got a new hook added to readline5 that
would let us fix it, but never had time to get back to it. If it
worked before, I don't remember what changed that required the new
hook.
And obviously I've forgotten the details, since I just pulled up gdb
and typed "file /bin<tab>" and got a slash.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list