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