On Fri, 5 Jul 2002, Benjamin Huot wrote:

> How do I quit vi? My system is stuck in vi and I don't know how to quit.

this is a common rite of passage for those joining a unix environment
the answer if you are still looking for it is:
[esc]:wq!
the escape key drops you back to command mode : is the command prefix
w writes the file q quits the editor and ! (bang) overides any pending
jobs 

as you can see vi has a very terse instruction set;

emacs on the other hand has a much better UI and gives you a fair amount
of teaching  ctrl-h T once emacs is running will tell you all you need to
know. and if you need to quit ctrl-x ctrl-c will get you out.

HTH ;-)

> 
> Landscapes of the Mind
> [EMAIL PROTECTED]
> 

-- 
http://www.efn.org/~laprice        ( Community, Cooperation, Consensus
http://www.opn.org                 ( Openness to serendipity, make mistakes
http://www.efn.org/~laprice/poems  ( but learn from them.(carpe fructus ludi)

Reply via email to