Losing my work in vi!

Ron Flax ron at vsedev.VSE.COM
Sat Dec 20 13:02:19 AEST 1986


In article <21107 at styx.UUCP> carlson at 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 at vsedev.VSE.COM	(Ron Flax)
UUCP:	..!seismo!vsedev!ron
INET:	vsedev.VSE.COM!ron at seismo.CSS.GOV



More information about the Comp.bugs.4bsd.ucb-fixes mailing list