Subject: bin/7014: filecomplition in ftp shows two chars to much (from first match)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 02/18/1999 16:32:22
>Number: 7014
>Category: bin
>Synopsis: filecomplition in ftp shows two chars to much (from first match)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 18 07:50:01 1999
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current supped from 17.2.99
>Environment:
System: NetBSD cyberlap 1.3I NetBSD 1.3I (CYBERLAP) #4: Wed Feb 17 23:53:57 MET 1999 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386
>Description:
Filecompletion in ftp shows two chars to much if there exists more than
one file with a common suffix. It does not show the alternatives and leads
to false assumtions.
>How-To-Repeat:
Try the following sequence of commands, it is important to do nothing else
in the ftp part:
[frueauf@cyberlap]/home/frueauf> cd /tmp
[frueauf@cyberlap]/tmp> touch test1234
[frueauf@cyberlap]/tmp> touch test5678
[frueauf@cyberlap]/tmp> ftp localhost
[login ommited]
Now type "get te" and hit the tabulator key:
ftp> get te<tab>
it completes to:
ftp> get test12
and shows no alternatives, which is wrong. Note that if I delete "st12" and
hit <tab> again I get:
ftp> get te
test1234 test5678
ftp>
which is what I did expect.
>Fix:
No idea, sorry :(
>Audit-Trail:
>Unformatted:
filecomplition in ftp shows two chars to much (from first match)