"Toggling file names in vi"

Srinivasan Sundararajan srini at ut-sally.UUCP
Thu Mar 29 13:48:22 AEST 1984


>> 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



More information about the Comp.unix mailing list