Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!mips!wdl1.wdl.loral.com!wdl1!ed From: ed@lvw6.lvw.loral.com (Ed Allen) Newsgroups: comp.editors Subject: Re: Does vi have a conditional (if) command? Message-ID: Date: 2 May 91 03:56:59 GMT References: <1370010@vantage.UUCP> Sender: news@wdl1.wdl.loral.com Organization: /users/ed/.organization Lines: 28 In-Reply-To: ray@vantage.UUCP's message of 26 Apr 91 17: 13:50 GMT In article <1370010@vantage.UUCP> ray@vantage.UUCP (Ray Liere) writes: Path: wdl1.wdl.loral.com!mips!zaphod.mps.ohio-state.edu!caen!dali.cs.montana.edu!milton!sumax!nwnexus!vantage!ray From: ray@vantage.UUCP (Ray Liere) Newsgroups: comp.editors Date: 26 Apr 91 17:13:50 GMT Organization: Vantage Consulting and Research Corporation Lines: 23 Is there an "if" statement in vi? I would like to put statements into my .exrc that are conditional (based on $TERM) and would like to do this directly in .exrc (versus having the .profile set up EXINIT for me based on $TERM). How about ? so $TERM Seems to work on SUNs and HPs. Thanks! Your welcome. It's a pleasure. -- Never trust a man who wears white shoes. | Ed Allen Vote Libertarian... Scare the Hell out of 'em. | Loral Command & Contr. Sys.