Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!akgua!galbp!mjy From: mjy@galbp.UUCP (Michael Yoffee) Newsgroups: net.unix-wizards Subject: Re: VI(1) vs. the world Message-ID: <690@galbp.UUCP> Date: Wed, 15-Oct-86 09:56:24 EDT Article-I.D.: galbp.690 Posted: Wed Oct 15 09:56:24 1986 Date-Received: Thu, 16-Oct-86 22:41:16 EDT References: <4327@brl-smoke.ARPA> <357@maynard.UUCP> <113@twg-ap.UUCP> <360@maynard.UUCP> Organization: Lanier Business Products, Inc., Atlanta, Georgia Lines: 35 ......I have used EMACS and VI(1) and have found good and bad reasons justifying the existence/use of both. GOOD REASONS TO USE: =================== 1. EMACS gives us the multiple-edit capablility which is very useful for cut and paste operations. 2. VI(1) gives us the POWERFUL facility of REGULAR EXPRESSIONS that are infinitely(well probably finite) more useful and productive for pattern matching than simple search&replace facilities of other well known editors. 3. EMACS gives us the POWERFUL macro facility. BAD REASONS TO USE: ================== 1. EMACS does NOT have REGULAR EXPRESSIONS which means you must develop your own pseudo-regular expressions via macros which is VERY slow(I experimented with this). 2. VI(1) does NOT give us the multiple-edit capability for cut & paste but, you can yank a region and paste when you enter a new file. 3. VI(1) does NOT give us a macro facility. ......I find that the absence of regular expressions in EMACS causes me to turn to VI(1). The multiple edit capability is a sacrifice but, I don't use it very much anyhow. As for VI(1) and the lack of a macro facility - I use 'SED(1)' or 'AWK(1)' to make up for this loss and I must say that they fill that void EXTREMELY well. Besides, when you leave out something like a macro facility you get a MUCH SMALLER executable which means MUCH QUICKER load&execute time. -- Michael Yoffee Harris / Lanier Computer R&D {akgua,akgub,gatech}!galbp!mjy