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

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!ftpbox!motsrd!white!sapphire.rtsg.mot.com!beryl17!yeates
  3. From: yeates@rtsg.mot.com (Tony J Yeates)
  4. Subject: Re: tcsh in the future - what should it be like?
  5. Message-ID: <yeates.711917978@beryl17>
  6. Keywords: tcsh
  7. Sender: news@rtsg.mot.com
  8. Nntp-Posting-Host: beryl17
  9. Organization: Motorola Inc., Cellular Infrastructure Group
  10. References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca>
  11. Distribution: comp.unix.shell
  12. Date: Thu, 23 Jul 1992 18:59:38 GMT
  13. Lines: 30
  14.  
  15. sjane@bmers248.bnr.ca (sjs) writes:
  16.  
  17. >In article <yeates.711122638@beryl17> yeates@rtsg.mot.com (Tony J Yeates) writes:
  18.   I have only one suggestion
  19. >>for improvement in this area - command line completion using the command history list
  20. >>(as well as the "by filename completion feature" - which is great), as 4DOS has.
  21. >>e.g. type "vi " then hit a "choosen key" (up arrow is already taken) to scroll thro'
  22. >>(only) the previous vi commands.
  23.  
  24. >This function is already available.  It is called history-search-backward.
  25. >You can bind it to a function key as I have bound it to F7  on my Sun:
  26.  
  27. >bindkey ^[[230z history-search-backward
  28.  
  29. >History-search-forward is also available in case you go too far too fast
  30. >with history-search-backward.
  31.  
  32. Somebody else suggested using:-
  33. bindkey "^[[A" history-search-backward
  34.  
  35. ... which worked on my Sun.  Excellent, tcsh is now complete (almost!).
  36.  
  37. >====================================================================
  38. >I'd also like the file completion to select one of completions if there
  39. >are many instead of just beeping at me.  And then if I hit the tab key
  40. >again, it should select another possible completion.. just like the PC.
  41.  
  42. I would second this suggestion.  Perhaps something like the way
  43. <TAB> and <space> can be used to select groups (G) when using nn.
  44.  
  45.