Subject: bin/4167: WIBNI sh supported file/command/etc completion?
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 09/26/1997 17:14:32
>Synopsis: WIBNI sh supported file/command/etc completion?
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Fri Sep 26 15:20:02 1997
>Originator: Ty Sarna
Endicor Technologies, Inc., San Antonio, Texas
>Release: NetBSD-current 1.2G-970901
System: NetBSD lotharon.endicor.com 1.2G NetBSD 1.2G (LOTHARON) #2: Sat Sep 13 15:07:31 CDT 1997 email@example.com:/usr/src/sys/arch/sun3/compile/LOTHARON sun3
I was using ftp, when I accidentally hit tab. Lo and behold, it
completed a remote filename! Browsing the code, I see that it
supports fancy context-sensitive filename completion.
I had always just assumed libedit was incapable of doing this
kind of thing, since sh doesn't do it. If sh did, I could
probably dump bash.
Wish /bin/sh supported tab completion of command names, file
names, variable names, etc, like bash.
Probably a lot of the code could be taken from ftp.
This is low-priority to me since I'm already using bash, but if
someone wants a nice project...