Vi isn't nasty enough, so user looses lines

David Herron, NPR Lover david at ukma.UUCP
Wed Aug 21 12:48:30 AEST 1985


Index: Everybody's favorite text editor.

Problem: Vi allows users to :wq without comment when they've
	deleted part of the file and written it to something else.  
	This can result in lost files and confused novices.

Repeat-by: Edit a file.  Delete part of the file.  (dG)  Write
	the result to another file (:w junk).  Exit by either
	typing :wq or ZZ.  Notice that the original is shorter.
	Find backup tape.

Fix:  Add more nastiness to vi.

		:-)
-- 
--- David Herron
--- ARPA-> ukma!david at ANL-MCS.ARPA
--- UUCP-> {ucbvax,unmvax,boulder,oddjob}!anlams!ukma!david
---        {ihnp4,decvax,ucbvax}!cbosgd!ukma!david

Hackin's in me blood.  My mother was known as Miss Hacker before she married!



More information about the Net.bugs mailing list