🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.celerity
Article #20

vi bug/weakness

#20
From: Jonathan Harris
Date: Mon, 19 Oct 1987 20:09
19 lines
1883 bytes
I have noticed that when recovering changes in a file from an editing
session that was killed or interrupted using the vi -r command, the
file is marked as unchanged so that when the user exits using the
"ZZ" command, he loses the changes and cannot recover them anymore.
This over course only happens if the user recovers the changes and exits
before making any additional ones. This is somewhat of a nuisance, as 
several times people have lost their data this way. Can vi be altered so that
it either: (1) marks the file as changed and automatically writes it upon 
exit, (2) does not delete the recover file in /usr/preserve, or
(3) marks the file as changed and readonly forcing the user to either
write it out to another file or quiting using the sequence :q!.
---------------------------------------------------------------------
Jonathan G. Harris                   Bitnet addresses: jghha8r@uchimvs1 
The James Franck Institute                            harris%go-han@uchicago
The University of Chicago             arpanet:     harris@go-han.uchicago.edu
5640 S. Ellis Avenue                  alternate:   harris@oddjob.uchicago.edu
Chicago, Illinois 60637                            ...!oddjob!go-han!harris
(312)702-7234
                                      numerical harris@128.135.4.20
Technical Details
Message-ID: <8710192009.AA20296@go-han.UChicago.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucbvax!GO-HAN.UCHICAGO.EDU!harris%go-han

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucbvax!GO-HAN.UCHICAGO.EDU!harris%go-han
From: harris%go-han@GO-HAN.UCHICAGO.EDU (Jonathan Harris)
Newsgroups: comp.sys.celerity
Subject: vi bug/weakness
Message-ID: <8710192009.AA20296@go-han.UChicago.EDU>
Date: Mon, 19-Oct-87 16:09:32 EDT
Article-I.D.: go-han.8710192009.AA20296
Posted: Mon Oct 19 16:09:32 1987
Date-Received: Tue, 20-Oct-87 21:32:47 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 19