Thread View: net.bugs
1 messages
1 total messages
Started by olson
Tue, 03 Jan 1984 20:03
Bug in 3.6 vi/ex - (nf)
Author: olson
Date: Tue, 03 Jan 1984 20:03
Date: Tue, 03 Jan 1984 20:03
27 lines
1580 bytes
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
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