Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!styx!carlson
From: carlson@styx.UUCP (John Carlson)
Newsgroups: comp.bugs.4bsd
Subject: Losing my work in vi!
Message-ID: <21107@styx.UUCP>
Date: Fri, 19-Dec-86 12:13:11 EST
Article-I.D.: styx.21107
Posted: Fri Dec 19 12:13:11 1986
Date-Received: Sat, 20-Dec-86 02:11:33 EST
Organization: Lawrence Livermore Laboratory, Livermore, CA
Lines: 21
Keywords: restore,quitting

()
Time for a change!

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

:x  (ex)

or

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?

John Carlson