Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!mcvax!botter!ark!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.wizards Subject: Re: YAVB - yet another VI bug Message-ID: <1131@ark.cs.vu.nl> Date: Mon, 12-Oct-87 14:01:43 EDT Article-I.D.: ark.1131 Posted: Mon Oct 12 14:01:43 1987 Date-Received: Wed, 14-Oct-87 04:47:26 EDT References: <270@astra.necisa.oz> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 29 Summary: It ain't a bug here. In article <270@astra.necisa.oz> dave@astra.necisa.oz (Dave Horsfall) writes: \A common technique in VI is to use tab stops every 4 columns by using \sw=4 and ^D ^T. However, after a career of bashing the TAB key, it is \difficult to adjust. \ \One would think that TAB could be mapped into ^T with "map! ^V^I ^V^T", \but no - it says "Missing rhs". Obviously, the ^V does not escape white \space. \ \Is this a bug or a feature? I don't have VI source, which is probably \just as well - it's been known to drive strong men (& women?) to drink. \ \-- \Dave Horsfall (VK2KFU) ACS: dave@astra.necisa.OZ \NEC Information Systems Aust. ARPA: dave%astra.necisa.OZ@uunet.UU.NET \3rd Floor, 99 Nicholson St UUCP: {enea,hplabs,mcvax,uunet,ukc}!\ \St. Leonards NSW 2064 AUSTRALIA munnari!astra.necisa.OZ!dave Use :map! ^V^V^V^I ^V^T (the tab has to be escaped twice) and all's fine. Good luck! -- ### -------- | Maarten Litmaath # |$...@.+### Hack | maart@cs.vu.nl ##+..c../| scene | University without heavy iron ball -------- | - Amsterdam