From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4899 invoked from network); 23 Feb 1999 03:22:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Feb 1999 03:22:49 -0000 Received: from naur.csee.wvu.edu (naur.csee.wvu.edu [157.182.194.28]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id WAA17467 for ; Mon, 22 Feb 1999 22:06:48 -0500 Received: (from dfrasnel@localhost) by naur.csee.wvu.edu (8.9.0/8.9.0) id WAA00819 for axp-list@redhat.com; Mon, 22 Feb 1999 22:06:42 -0500 (EST) Date: Mon, 22 Feb 1999 22:06:41 -0500 From: "Daniel J. Frasnelli" To: axp-list@redhat.com Subject: Re: I can't get into my system! Message-ID: <19990222220641.C15903@csee.wvu.edu> References: <001b01be5ed1$17fa2d80$0200a8c0@ironside.alphalinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <001b01be5ed1$17fa2d80$0200a8c0@ironside.alphalinux.org>; from Peter Petrakis on Mon, Feb 22, 1999 at 09:06:15PM -0500 > Funny thing. I brough my Alpha box to school to test it as an application > and X server on the network there for 25 win 98 machines > using xclients. I had to change my ip stuff and changed my inittab to > runlevel 5 to do this. So I forgot to reset my old settings for my box and > brought it home and then to my surprise I find out that it hangs on boot. > > Specificly it hangs on "starting sendmail" and then I'm stuck. I searched > the archives and found that neat trick to get into the RH setup and use the > ash shell to do stuff. So I did that and found the files > I wanted to modify and proceeded to use emacs. There was no emacs :( So I > tried vi. I popped open a file, fumbled around a little and finaly finished > up and to my embarisment I found that I did not know the command to save the > file. help was not available and using quit told me I had to use ! to > override something. > > So my question is could some kind soul please tell me how to save a file in > vi? Thank you. Hey Pete, Thought it was quirky that you stopped answering e-mail :-) Given that I am die-hard vi(m) hacker, saving a file should be easily to explain: vi has two modes, a command mode and a text entry mode. You probably have discovered the text entry mode on your own. To save a file, hit (enters command mode), <:>, hit I am bracketing the keys, so "" simply means you hit the 'w' key. Daniel --