Subject: bin/24753: ksh complete does not add / to ..
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 03/12/2004 14:01:30
>Synopsis: ksh complete does not add / to ..
>Arrival-Date: Fri Mar 12 12:10:00 UTC 2004
>Originator: Arto Huusko
>Release: NetBSD 1.6ZF
System: NetBSD maailma.yok.utu.fi 1.6ZF NetBSD 1.6ZF (MAAILMA) #2: Mon Dec 1 21:44:24 EET 2003 arto@lady:/data/netbsd/current/alpha/obj/sys/arch/alpha/compile/MAAILMA alpha
When using ksh's file "complete-list" function in emacs mode,
ksh does not recognize ".." as a directory: no "/" is automatically
added to it. Instead the terminal just beeps.
Same thing happens also with "complete" and "complete-file".
This is annoying, because the slash needs to be written
separately when traversing several directories upwards
(at least with finnish kbd map where it is hard to write the
Bind "complete-list" to some key, such as ^I, write "cd .." and
hit the bound key. Terminal beeps, "/" does not appear after "..".
Unknown. I tried looking through -current ksh sources, and
as far as I can see, eval.c:globit() should add "/" after "..",
since I should think S_ISDIR() check would evaluate to true
for stat of "..".
Perhaps the problem is that ksh refuses to glob ".." in the