home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3156 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.6 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!crl!chrish
  2. From: chrish@strl.labs.tek.com (Chris Hubbard)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: tcsh in the future - what should it be like?
  5. Message-ID: <4626@crl.LABS.TEK.COM>
  6. Date: 27 Jul 92 23:56:46 GMT
  7. References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca> <1992Jul27.215202*Harald.Eikrem@delab.sintef.no>
  8. Sender: news@crl.LABS.TEK.COM
  9. Reply-To: chrish@strl.labs.tek.com
  10. Distribution: na
  11. Organization: STRL, Tektronix Inc, USA
  12. Lines: 32
  13.  
  14. In article <1992Jul27.215202*Harald.Eikrem@delab.sintef.no>, Harald.Eikrem@delab.sintef.no writes:
  15. |> ! I'd like to see a history mechanism that works like VMS' RECALL, i.e. 
  16. |> ! type something like !vi .cs  and get the last vi command that edits 
  17. |> ! .cshrc.  Simple, powerful concept; only a single command to learn. 
  18. |> 
  19. |> It's there.  You just need to try.
  20.  
  21. How about  hmmmmm...   esc-p and esc-n    :-)
  22. I think this is default.  (Logical extension to history-back
  23. history-forward.  Kind of like parallel between char-forward and
  24. word-forward in emacs)
  25.  
  26. And,  if you do the following in your .login or .tcshrc file, meta-p and
  27. meta-n work.  How convient.  :-)
  28.  
  29. if ( $?prompt ) then
  30.         if ( "`echotc meta`" == "yes" ) then
  31.                  stty pass8
  32.         endif
  33. endif
  34.  
  35. The above I receive from some knowledgable person posting this group
  36. about six months ago.  What comes around, goes around.
  37.  
  38.  
  39. Cheers,
  40.  
  41. Chris
  42. -- 
  43. Chris Hubbard      chrish@strl.labs.tek.com  | No tread on me   oo0 0oo
  44. Software Technology Research Lab, Tektronix  |                  | | | |
  45. PO Box 500, ms 50-662 Beaverton, OR   97077  | Barefoot Patrol  \_/ \_/
  46.