Subject: bin/4167: WIBNI sh supported file/command/etc completion?
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tsarna@endicor.com>
List: netbsd-bugs
Date: 09/26/1997 17:14:32
>Number:         4167
>Category:       bin
>Synopsis:       WIBNI sh supported file/command/etc completion?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 26 15:20:02 1997
>Last-Modified:
>Originator:     Ty Sarna
>Organization:
Endicor Technologies, Inc., San Antonio, Texas
>Release:        NetBSD-current 1.2G-970901
>Environment:
System: NetBSD lotharon.endicor.com 1.2G NetBSD 1.2G (LOTHARON) #2: Sat Sep 13 15:07:31 CDT 1997 tsarna@lotharon.endicor.com:/usr/src/sys/arch/sun3/compile/LOTHARON sun3

>Description:
	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.
	*very* nice!

	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.
>How-To-Repeat:
	Wish /bin/sh supported tab completion of command names, file
	names, variable names, etc, like bash.
>Fix:
	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...
>Audit-Trail:
>Unformatted: