🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.celerity
1 messages
1 total messages Started by Jonathan Harris Mon, 19 Oct 1987 20:09
vi bug/weakness
#20
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads