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