home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / misc / 16530 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  2.1 KB

  1. Xref: sparky comp.sys.mac.misc:16530 comp.sys.mac.wanted:8428 comp.sys.mac.programmer:15480 comp.editors:2227
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!actrix!Bruce.Hoult
  3. Newsgroups: comp.sys.mac.misc,comp.sys.mac.wanted,comp.sys.mac.programmer,comp.editors
  4. Subject: Re: good vi editor for the mac
  5. Message-ID: <1992Sep15.034419.25491@actrix.gen.nz>
  6. From: Bruce.Hoult@bbs.actrix.gen.nz
  7. Date: Tue, 15 Sep 1992 03:44:19 GMT
  8. Sender: Bruce.Hoult@actrix.gen.nz (Bruce Hoult)
  9. References: <D88-JWA.92Sep8123551@black.nada.kth.se> <65734@cup.portal.com> <23284@hacgate.SCG.HAC.COM>
  10. Organization: Actrix Information Exchange
  11. Lines: 30
  12.  
  13. In article <23284@hacgate.SCG.HAC.COM> root@lyra.hac.com (Dave Fisher) writes:
  14. > Let me illustrate a couple of vi examples for the benefit of the non-Unix 
  15. > literate:
  16. > 1. I'm editing a file on machine X.  I need a line of text from another
  17. >    file on machine Y.   I type "rsh machine-y grep keyword filename", then
  18. >    hit the q key, which is mapped to a sequence (!!sh) which will then run this
  19. >    line of text as a command, then return the output INTO my file.  Presto,
  20. >    this other line of text is now in my file.  My fingers never leave the
  21. >    keyboard.
  22.  
  23. On the Mac, in Apple's standard programmer's editor, MPW, you would type
  24. 'rshell -r machine-y "search keyword filename"' and press <Enter>.
  25.  
  26. Similar things apply for your other examples.
  27.  
  28.  
  29. > The point is, vi (or emacs) are very powerful to a large degree because
  30. > they can be *extended* with other programs (Emacs can be extended directly).
  31. > This is a bit like the "plug-in software module" concept which we will
  32. > hopefully be seeing more of on the Mac soon.
  33.  
  34. MPW is extended in a way that is between vi and Emacs -- it can call external
  35. programs *and* it has a built-in language (although not as powerful as lisp).
  36. -- 
  37. Bruce.Hoult@bbs.actrix.gen.nz   Twisted pair: +64 4 477 2116
  38. BIX: brucehoult                 Last Resort:  PO Box 4145 Wellington, NZ
  39. "Cray's producing a 500 MIPS personal computer with 256MB RAM and 8 GB
  40. hard disk that fits in your pocket!"   "Great!  Is it PC compatible?"
  41.