[rescue] ksh q...

Scotty Logan rescue at sunhelp.org
Fri Sep 14 15:40:56 CDT 2001


Not quite the answer you're looking for, but all the ksh's I've found
(AIX, Solaris, HP, Linux) support ESC-= to list all possible completions
and ESC-ESC to complete the path:

	% ksh
	$ ls /usr/lo[ESC][=]
	1) local/
	2) lost+found/
	$ ls /usr/loc[ESC][ESC]
	$ ls /usr/local/

Not quite TAB completion, but better than nothing.

Apparently the newer ksh from AT&T (ksh93?) has TAB completion support.

  Scotty

--
Scotty Logan <swl at stanford.edu>
ITSS-CSS http://www.stanford.edu/group/itss/css/

> -----Original Message-----
> From: rescue-admin at sunhelp.org [mailto:rescue-admin at sunhelp.org]On
> Behalf Of Patrick Giagnocavo
> Sent: Friday, September 14, 2001 11:22
> To: rescue at sunhelp.org
> Subject: [rescue] ksh q...
>
>
> Somewhat rescue-related...
>
> under OpenBSD, the ksh shell will expand a path for you when you press
> TAB.  Eg, if the path is /usr/sbin/local , I might type /usr/sb TAB
> loc TAB and the shell will expand the rest on each TAB.
>
> How do I turn this feature on in other ksh's such as those found on
> IRIX and Sol8 boxen?
>
> The ksh man page doesn't help too much.
>
> ./patrick
>
> _______________________________________________
> rescue maillist  -  rescue at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/rescue
>
>




More information about the rescue mailing list