Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.editors Subject: Re^2: wq in vi (was: FILE descriptor <-> FILE pointers) Keywords: FILE descriptors, FILE pointers, fdopen, fileno ... Message-ID: <2794@solo8.cs.vu.nl> Date: 22 Jun 89 22:03:09 GMT References: <148@cerc.wvu.wvnet.edu.edu> <2781@solo8.cs.vu.nl> <12189@nsc.nsc.com> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 10 woolsey@nsc.nsc.com (Jeff Woolsey) writes: \... ZZ is very dangerous if you \used the -r flag on vi, and make no further changes. It does NOT write \out your file, AND it removes the file in /tmp. I lost a two-hour \editing session on a new file I was composing that way. Never again! SunOS vi handles this case OK. I'll add it to the Reference, though. -- "I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam: they're small." (Stephen Savitzky) |maart@cs.vu.nl, mcvax!botter!maart