yeah, using 4.3, thats the right behaviour of the openbsd ksh.
if you have a file caled "foo[one].txt" and "foo[two].txt"
try type:
# cat foo[ <tab>
ksh holds there. No autocompletion options shows.

-Jesus.

Matthias Kilian escribis:
On Mon, Nov 10, 2008 at 08:00:11PM +0100, LIVAI Daniel wrote:
Can anyone else see this behaviour? I could reproduce it on two different OS:

$ mkdir asd[fgh]jkl
$ mkdir asd[fg]hjkl
$ cd asd      <-- now press the completion key, in my case TAB
$ cd asd\[fg <-- ksh completed the name partially, so I add another character to narrow my options to exactly one:
$ cd asd\[fgh <-- press completion key
nothing happens, ksh won't complete it to the full 'asd[fgh]jkl' name.

Yes, tab-completion on directories with funny characters is broken
(at least for '[' and '@'). I had some (unfinished) diff a few years
ago, but unfortunately, I lost it.

Ciao,
        Kili

Reply via email to