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

  1. Xref: sparky comp.os.msdos.misc:4737 comp.os.msdos.apps:4341
  2. Newsgroups: comp.os.msdos.misc,comp.os.msdos.apps
  3. Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!gsroka
  4. From: gsroka@leland.Stanford.EDU (Gregory Sroka)
  5. Subject: Re: WARNING!!!! major problem with vi and possibly every other app around! (was: help I don't understand write caches like smartdrive 3.1)
  6. Message-ID: <1992Aug15.074707.24279@leland.Stanford.EDU>
  7. Sender: news@leland.Stanford.EDU (Mr News)
  8. Organization: DSG, Stanford University, CA 94305, USA
  9. References: <1992Aug13.202720.22761@serval.net.wsu.edu> <1992Aug14.141659.328@csc.canterbury.ac.nz> <1992Aug14.232515.5824@cco.caltech.edu>
  10. Date: Sat, 15 Aug 92 07:47:07 GMT
  11. Lines: 26
  12.  
  13. In article <1992Aug14.232515.5824@cco.caltech.edu> nyet@cco.caltech.edu (n liu) writes:
  14. >The other day I was editing a file with vi and I quit using :q!
  15. >
  16. >I lost ALL my changes!!!! I belive this to be a major problem with vi.
  17. >
  18. >I've heard lots of other programs do this too.
  19. >-- 
  20. >nyet@cco.caltech.edu
  21. >nyet@aerospace.aero.org
  22.  
  23. (suppressing urge to say RTFM ...)
  24. You are either new to vi or left your terminal unattended. (I've heard
  25. about those crazy Caltech practical jokers).
  26. From The Waite Group's "UNIX Primer Plus" (a very handy book):
  27.    - the vi Reference Card sez:
  28.             "<Esc>:q!     Emphatic form of quit. No changes written."
  29.             "<Esc>:wq     Write and quit."
  30.             "<Esc>ZZ      Write and quit."
  31.  
  32. Strangely enough, most programs do provide the option to quit without
  33. saving. I've even had occasion to use this a few times!  ;-)
  34.  
  35. ---
  36. Greg Sroka
  37.  
  38.    
  39.