🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #161

Bug in 3.6 vi/ex - (nf)

#161
From: olson
Date: Tue, 03 Jan 1984 20:03
27 lines
1580 bytes
#N:fortune:1800004:000:962
fortune!olson    Jan  3 09:46:00 1984

I have discovered a bug in ex/vi, which I am sure has been found
before.  I hope that someone out there has the fix for it.  (The
version I am using is 3.6.)

The situation is as follow:
	Edit a file, or create a new one.
	Make some changes in the file.
	Give an unknown command; e.g. ':spell'
	You get the diagnostic 'spell: Not an editor command'
	  (which is reasonable)
	WITHOUT making anymore changes in the file, give the command
	  'ZZ' or ':x'
	ex/vi happily quits WITHOUT WRITING THE FILE!  (Which is a 
	  real downer if you have just finished 3 or 4 hours of straight
	  editting.)

I have tracked down the problem far enough to know that the 'chng'
flag is getting cleared somewhere down the chain of routines that
detect and announce the error, but have not found out where.  If any
of you have the fix, please mail it to me, or post it if it hasn't been
posted before.

Thanks,
	Dave Olson, Fortune Systems {ihnp4,harpo,ucbvax!amd70}!fortune!olson
Technical Details
Message-ID: <2158@fortune.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!seismo!hao!hplabs!hpda!fortune!olson

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site fortune.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!seismo!hao!hplabs!hpda!fortune!olson
From: olson@fortune.UUCP
Newsgroups: net.bugs
Subject: Bug in 3.6 vi/ex - (nf)
Message-ID: <2158@fortune.UUCP>
Date: Tue, 3-Jan-84 15:03:40 EST
Article-I.D.: fortune.2158
Posted: Tue Jan  3 15:03:40 1984
Date-Received: Wed, 4-Jan-84 05:12:23 EST
Sender: notes@fortune.UUCP
Organization: Fortune Systems, Redwood City, CA
Lines: 28