Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ut-sally.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!ut-sally!srini From: srini@ut-sally.UUCP (Srinivasan Sundararajan) Newsgroups: net.unix Subject: Re: "Toggling file names in vi" Message-ID: <1617@ut-sally.UUCP> Date: Wed, 28-Mar-84 22:48:22 EST Article-I.D.: ut-sally.1617 Posted: Wed Mar 28 22:48:22 1984 Date-Received: Wed, 28-Mar-84 07:35:15 EST References: <710@houxz.UUCP>, <994@ihuxr.UUCP> <344@houxu.UUCP> <248@astrovax.UUCP> Organization: U. Texas CS Dept., Austin, Texas Lines: 19 >> A great example of the use of toggling file names in vi is the use of the >> two files accessed by vi after a a (r)eply or (f)ollowup command from vnews. >> The first file is the temporary file which will become your reply/followup. >> To read this article file into your reply/followup temporary file give these >> commands. >> >> :n To go to the article file >> >> :e # To go back to the temporary file >> >> :$r # Read the article file into the original file. >> >> Bill Sebok Princeton University, Astrophysics >> {allegra,akgua,burl,cbosgd,decvax,ihnp4,kpno,princeton,vax135}!astrovax!wls Unfortunately, doesn't work on our "vi" ! What I do is to just s(ave) the file while in vnews, and read it in into my tmp file using :r Articles