Losing my work in vi!

John Carlson carlson at styx.UUCP
Sat Dec 20 03:13:11 AEST 1986


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



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