home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3170 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.9 KB  |  50 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!bellahs!gfong
  3. From: gfong@bellahs.com (Gary Fong RD)
  4. Subject: Re: file name completion for ksh?
  5. Message-ID: <1992Jul28.235617.19280@bellahs.com>
  6. Organization: Bell Atlantic Healthcare Systems
  7. References: <1992Jul16.222941.3939@sco.COM> <1992Jul20.143443.16536@rtsg.mot.com>
  8. Distribution: na
  9. Date: Tue, 28 Jul 1992 23:56:17 GMT
  10. Lines: 38
  11.  
  12. In article <1992Jul20.143443.16536@rtsg.mot.com> yorton@rtsg.mot.com writes:
  13. >In article <1992Jul16.222941.3939@sco.COM>, zackx@sco.COM (Zack Xu) writes:
  14. >|> Does some enhanced version of ksh have the "interactive command,
  15. >|> file name and user name completion" feature of tcsh?  I am
  16. >|> currently still using tcsh because of this feature I found
  17. >|> very useful.  For interactive use, can someone run a comparison
  18. >|> of tcsh and ksh?  and try to convince/convert me to be a ksh
  19. >|> user?
  20. >|> 
  21. >
  22. >Not sure what you mean by the "enhanced" version of ksh, but the
  23. >one I'm referring to is ksh88g from the Toolchest.
  24. >
  25. >For filename completion, with vi-style command line editing,
  26. >try
  27. >    <ESC>* or <ESC>\  
  28. >
  29. >For emacs style command line editing try
  30. >    <ESC><ESC>
  31.  
  32. I believe what Zack meant is that in csh, if filec is set on, then hitting
  33. say k<ESC> will show all the commands that start with k.  In ksh, I don't
  34. know how this works.  Hitting k<ESC><ESC> will only give me what starts with
  35. k in the current directory.
  36.  
  37. >Never heard of "user name completion", but if you're referring
  38. >to ~ expansion of the home directory, then yes ksh does have it too.
  39.  
  40. Again, I believe what Zack meant is that in csh, you can type ~g<ESC> and it
  41. will be completed with the login user name that begins with g.
  42.  
  43. With both of these completion mechanisms, a list of selections for ambiguous
  44. situations are printed to the screen - just like in ksh when looking for a
  45. file.
  46.  
  47. gfong@bellahs.com
  48. Bell Atlantic Healthcare Systems
  49. *DISCLAIMER: Everything I say, I said!
  50.