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

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!convex!news.utdallas.edu!hermes.chpc.utexas.edu!aswx266
  3. From: aswx266@chpc.utexas.edu (Michael Lemke)
  4. Subject: Re: tcsh in the future - what should it be like?
  5. Message-ID: <1992Jul27.031238.10376@chpc.utexas.edu>
  6. Keywords: tcsh
  7. Organization: The University of Texas System - CHPC
  8. References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca>
  9. Distribution: comp.unix.shell
  10. Date: Mon, 27 Jul 92 03:12:38 GMT
  11. Lines: 30
  12.  
  13. In article <1992Jul16.153506.24366@bmerh85.bnr.ca> sjane@bmers248.bnr.ca (sjs) writes:
  14. >In article <yeates.711122638@beryl17> yeates@rtsg.mot.com (Tony J Yeates) writes:
  15. >>I thought it might be interesting to make suggestions for future
  16. >>enhancements to tcsh.  
  17. >>
  18. >>e.g. type "vi " then hit a "choosen key" (up arrow is already taken) to 
  19. >>scroll thro'
  20. >>(only) the previous vi commands.
  21. >
  22. >This function is already available.  It is called history-search-backward.
  23. >You can bind it to a function key as I have bound it to F7  on my Sun:
  24. >
  25. >bindkey ^[[230z history-search-backward
  26. >
  27. >History-search-forward is also available in case you go too far too fast
  28. >with history-search-backward.
  29.  
  30. I'd like to see a history mechanism that works like VMS' RECALL, i.e. 
  31. type something like !vi .cs  and get the last vi command that edits 
  32. .cshrc.  Simple, powerful concept; only a single command to learn. 
  33.  
  34. Also, the history list should save a command only if it is different 
  35. from the last one.
  36.  
  37. If both these questions have solutions already it only shows that tcsh 
  38. has too many features.  I can't remember them so I don't use them.
  39. -- 
  40. Michael Lemke
  41. Astronomy, UT Austin, Texas
  42. (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
  43.