home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!bellahs!gfong
- From: gfong@bellahs.com (Gary Fong RD)
- Subject: Re: file name completion for ksh?
- Message-ID: <1992Jul28.235617.19280@bellahs.com>
- Organization: Bell Atlantic Healthcare Systems
- References: <1992Jul16.222941.3939@sco.COM> <1992Jul20.143443.16536@rtsg.mot.com>
- Distribution: na
- Date: Tue, 28 Jul 1992 23:56:17 GMT
- Lines: 38
-
- In article <1992Jul20.143443.16536@rtsg.mot.com> yorton@rtsg.mot.com writes:
- >In article <1992Jul16.222941.3939@sco.COM>, zackx@sco.COM (Zack Xu) writes:
- >|> Does some enhanced version of ksh have the "interactive command,
- >|> file name and user name completion" feature of tcsh? I am
- >|> currently still using tcsh because of this feature I found
- >|> very useful. For interactive use, can someone run a comparison
- >|> of tcsh and ksh? and try to convince/convert me to be a ksh
- >|> user?
- >|>
- >
- >Not sure what you mean by the "enhanced" version of ksh, but the
- >one I'm referring to is ksh88g from the Toolchest.
- >
- >For filename completion, with vi-style command line editing,
- >try
- > <ESC>* or <ESC>\
- >
- >For emacs style command line editing try
- > <ESC><ESC>
-
- I believe what Zack meant is that in csh, if filec is set on, then hitting
- say k<ESC> will show all the commands that start with k. In ksh, I don't
- know how this works. Hitting k<ESC><ESC> will only give me what starts with
- k in the current directory.
-
- >Never heard of "user name completion", but if you're referring
- >to ~ expansion of the home directory, then yes ksh does have it too.
-
- Again, I believe what Zack meant is that in csh, you can type ~g<ESC> and it
- will be completed with the login user name that begins with g.
-
- With both of these completion mechanisms, a list of selections for ambiguous
- situations are printed to the screen - just like in ksh when looking for a
- file.
-
- gfong@bellahs.com
- Bell Atlantic Healthcare Systems
- *DISCLAIMER: Everything I say, I said!
-