home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / misc / 4848 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  2.3 KB

  1. Xref: sparky comp.os.msdos.misc:4848 comp.os.msdos.apps:4459
  2. Newsgroups: comp.os.msdos.misc,comp.os.msdos.apps
  3. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!news.oc.com!spssig.spss.com!uchinews!quads!pynq
  4. From: pynq@quads.uchicago.edu (George Jetson)
  5. Subject: Re: WARNING!!!! major problem with vi
  6. Message-ID: <1992Aug22.164717.5646@midway.uchicago.edu>
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Reply-To: pynq@midway.uchicago.edu
  9. Organization: D. J. Dougherty & Associates
  10. References: <1992Aug14.141659.328@csc.canterbury.ac.nz> <1992Aug14.232515.5824@cco.caltech.edu> <1992Aug15.155532.1217@spuddy.uucp>
  11. Date: Sat, 22 Aug 1992 16:47:17 GMT
  12. Lines: 39
  13.  
  14. In article <1992Aug15.155532.1217@spuddy.uucp> sweh@spuddy.uucp (Stephen Harris) writes:
  15. >In article <1992Aug14.232515.5824@cco.caltech.edu> nyet@cco.caltech.edu (n liu) writes:
  16. >>The other day I was editing a file with vi and I quit using :q!
  17. >>
  18. >>I lost ALL my changes!!!! I belive this to be a major problem with vi.
  19. >>
  20. >>I've heard lots of other programs do this too.
  21. >
  22. >Strange...I don't see a smiley, but this *has* to be a joke...doesn't it?
  23. >
  24. >Anyway, in vi :q means QUIT.  If you have modifed your file then it moans
  25. >at you, and doesn't let you quit.  If you do :q! then it means QUIT and ABORT
  26. >any changes.
  27.  
  28. We should all be using DisplayWriter.  Now, there's an editor from which
  29. you cannot escape w/o saving your work.  In fact, I think it may
  30. actually write the changes as you make them.  Now, there's perfect safety.
  31.  
  32. But, the real problem is that silly power switch.  (Not to mention the
  33. reset button that some machines have.  Note that no IBM machine has a
  34. reset button - they know better than you do...)
  35.  
  36. ----
  37. The original poster would have been better off picking on COMMAND.COM,
  38. rather than vi.  I mean, do you know that if you type:
  39.  
  40.     del importnt.fil
  41.  
  42. at the DOS prompt, you could lose all of the stuff in importnt.fil ?
  43.  
  44. ************************************************************************
  45. A note to new readers:  the weasely :-) symbol is frowned upon in this
  46. group.  Any questions, see Phil Gustafson who will gladly rearrange your
  47. diodes for you.
  48.             - From the AFU FAQ -
  49.  
  50.     - pynq@quads.uchicago.edu, who is still costing the net
  51.       hundreds, if not thousands, of dollars, every time he posts -
  52. ************************************************************************
  53.