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

  1. Xref: sparky comp.os.msdos.misc:4751 comp.os.msdos.apps:4351
  2. Path: sparky!uunet!mcsun!uknet!axion!spuddy!sweh
  3. From: sweh@spuddy.uucp (Stephen Harris)
  4. Newsgroups: comp.os.msdos.misc,comp.os.msdos.apps
  5. Subject: Re: WARNING!!!! major problem with vi
  6. Message-ID: <1992Aug15.155532.1217@spuddy.uucp>
  7. Date: 15 Aug 92 15:55:32 GMT
  8. References: <1992Aug13.202720.22761@serval.net.wsu.edu> <1992Aug14.141659.328@csc.canterbury.ac.nz> <1992Aug14.232515.5824@cco.caltech.edu>
  9. Organization: Spuddy's Public Usenet Domain
  10. Lines: 21
  11.  
  12. In article <1992Aug14.232515.5824@cco.caltech.edu> nyet@cco.caltech.edu (n liu) writes:
  13. >The other day I was editing a file with vi and I quit using :q!
  14. >
  15. >I lost ALL my changes!!!! I belive this to be a major problem with vi.
  16. >
  17. >I've heard lots of other programs do this too.
  18.  
  19. Strange...I don't see a smiley, but this *has* to be a joke...doesn't it?
  20.  
  21. Anyway, in vi :q means QUIT.  If you have modifed your file then it moans
  22. at you, and doesn't let you quit.  If you do :q! then it means QUIT and ABORT
  23. any changes.
  24.  
  25. The command you want is :wq or :x or <ESC>ZZ.
  26. These all SAVE AND EXIT
  27.  
  28. -- 
  29.                                Stephen Harris
  30.                sweh@spuddy.uucp    ...!uknet!axion!spuddy!sweh
  31.  
  32.  * Meeeeow ! Call Spud the Cat on > +44 203 638780 < for free Usenet access *
  33.