Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!vrdxhq!vsedev!ron
From: ron@vsedev.VSE.COM (Ron Flax)
Newsgroups: comp.bugs.4bsd
Subject: Re: Losing my work in vi!
Message-ID: <305@vsedev.VSE.COM>
Date: Fri, 19-Dec-86 22:02:19 EST
Article-I.D.: vsedev.305
Posted: Fri Dec 19 22:02:19 1986
Date-Received: Sat, 20-Dec-86 05:58:08 EST
References: <21107@styx.UUCP>
Reply-To: ron@vsedev.UUCP (Ron Flax)
Organization: VSE Software Development Lab
Lines: 22
Keywords: restore,quitting

In article <21107@styx.UUCP> carlson@styx.UUCP (John Carlson) writes:
	I am always losing my work with ex/vi when the system goes down in the
	middle of an edit session.  Later, I type
	
	
	vi -r filename
	
	to restore the file.  Then I make changes a few changes, or if I just
	want to save it, I type
	
	ZZ  (vi)

	Guess what happens?  That's right, all of my changes are lost!  How
	about setting the 'modified' flag whenever a restore is done?

Which version of vi are you running?  Mine which is 3.9, of 2/9/83 does 
as you suggest.

--
ron@vsedev.VSE.COM	(Ron Flax)
UUCP:	..!seismo!vsedev!ron
INET:	vsedev.VSE.COM!ron@seismo.CSS.GOV