Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: I can't get into my system!
  1999-02-23  2:31 ` Ron Farrer
@ 1999-02-21  7:26   ` Jeff DeMaagd
  0 siblings, 0 replies; 8+ messages in thread
From: Jeff DeMaagd @ 1999-02-21  7:26 UTC (permalink / raw)
  To: axp-list


> > So my question is could some kind soul please tell me how to save a file in
> > vi? Thank you.
> 
> While in vi type ":wq" (without quotes) and that will quit and save the
> file. ":w" will save and not close, ":q!" will quit without saving.
> 
> Ron

Certainly not to start a flame war, but 'pico' also exists on most RedHat
installations.  It is easier for the casual user to use, although crude.
'cool edit' is also available, an editor after the Borland style, but the
delete keys don't seem to work well in X.

JRDM


^ permalink raw reply	[flat|nested] 8+ messages in thread

* I can't get into my system!
@ 1999-02-23  2:06 Peter Petrakis
  1999-02-23  2:31 ` Ron Farrer
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Peter Petrakis @ 1999-02-23  2:06 UTC (permalink / raw)
  To: axp-list

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.


Peter Petrakis


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can't get into my system!
  1999-02-23  2:06 Peter Petrakis
@ 1999-02-23  2:31 ` Ron Farrer
  1999-02-21  7:26   ` Jeff DeMaagd
  1999-02-23  3:01 ` Dan Morrill
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Ron Farrer @ 1999-02-23  2:31 UTC (permalink / raw)
  To: axp-list


On Mon, 22 Feb 1999, Peter Petrakis wrote:

> 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.
> 
> 
> Peter Petrakis
> 

While in vi type ":wq" (without quotes) and that will quit and save the
file. ":w" will save and not close, ":q!" will quit without saving.


HTH,

Ron


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can't get into my system!
  1999-02-23  2:06 Peter Petrakis
  1999-02-23  2:31 ` Ron Farrer
@ 1999-02-23  3:01 ` Dan Morrill
  1999-02-23  3:06 ` Daniel J. Frasnelli
  1999-02-23 14:26 ` Aaron
  3 siblings, 0 replies; 8+ messages in thread
From: Dan Morrill @ 1999-02-23  3:01 UTC (permalink / raw)
  To: axp-list

On Mon, 22 Feb 1999, Peter Petrakis wrote:

> 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.

Heh... fun. :)

> Specificly it hangs on "starting sendmail" and then I'm stuck.

How long did you wait?  Sendmail will usually eventually time out, after around
10 full minutes.  At least, it did on Intel...

> So my question is could some kind soul please tell me how to save a file in
> vi? Thank you.

Type `:wq` and enter.


Dan Morrill
Computer Scientist, Physicist


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can't get into my system!
  1999-02-23  2:06 Peter Petrakis
  1999-02-23  2:31 ` Ron Farrer
  1999-02-23  3:01 ` Dan Morrill
@ 1999-02-23  3:06 ` Daniel J. Frasnelli
  1999-02-23 14:26 ` Aaron
  3 siblings, 0 replies; 8+ messages in thread
From: Daniel J. Frasnelli @ 1999-02-23  3:06 UTC (permalink / raw)
  To: axp-list

> 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 <Esc> (enters command mode), <:>, hit <w><q><Enter>
I am bracketing the keys, so "<w>" simply means you hit the 'w' key.

Daniel
-- 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can't get into my system!
  1999-02-23  2:06 Peter Petrakis
                   ` (2 preceding siblings ...)
  1999-02-23  3:06 ` Daniel J. Frasnelli
@ 1999-02-23 14:26 ` Aaron
  3 siblings, 0 replies; 8+ messages in thread
From: Aaron @ 1999-02-23 14:26 UTC (permalink / raw)
  To: axp-list


Well in VI hit the escape key, then hit !wq
that stands for write quit.  That should do it!!

\--------------------------------------------------------------------------/
 \ Aaron Gee AKA Spdracer                                                 /
  \"Maseratis are more than cars, they are a passion that is understood  /
   \by some, but enjoyed by a very few"	                                /
    \URL---> http://www.italian-cars.com                               /
     \e-mail--> spdracer@america.com   Fax-->1 (904) 253 1006         /
      \--------------------------------------------------------------/
				\  |  /
				 \_|_/
				 (---)
				   0 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: I can't get into my system!
@ 1999-02-23 15:01 Arkadiy Chapkis - Arc
  0 siblings, 0 replies; 8+ messages in thread
From: Arkadiy Chapkis - Arc @ 1999-02-23 15:01 UTC (permalink / raw)
  To: axp-list

  I'm not an expirence in vi myself, I know a few quick commands that always
get me around:

ESC :w to write the file, ESC :x to write and exit, ESC :q to quit unmodified
buffer, ESC :q! to quit modified buffer. I think there is supposely a reference
to vi and vim on internet. Moreover, vi should be the same on any Unix platform
(from a command standpoint, I mean).

>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.
>
>
>Peter Petrakis
>


                                      Arc C.
                                      achapkis@dls.net
                                      achapkis@shark.dls.net


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can't get into my system!
       [not found] <Pine.WNT.4.05.9902210224090.-402977@grand-rapids-65-15.iserv. net>
@ 1999-02-23 16:36 ` James Hamilton
  0 siblings, 0 replies; 8+ messages in thread
From: James Hamilton @ 1999-02-23 16:36 UTC (permalink / raw)
  To: axp-list

No flames here it would be good to call it as pico -w so it doesn't try to
wrap any long lines you have :-)

-->Certainly not to start a flame war, but 'pico' also exists on most RedHat
-->installations.  It is easier for the casual user to use, although crude.
-->'cool edit' is also available, an editor after the Borland style, but the
-->delete keys don't seem to work well in X.
-->
-->JRDM
-->
-->-- 
-->To unsubscribe: send e-mail to axp-list-request@redhat.com with
-->'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
-->

James Hamilton
SWCP Technical Support
(505)-232-7992


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-02-23 16:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-23 15:01 I can't get into my system! Arkadiy Chapkis - Arc
     [not found] <Pine.WNT.4.05.9902210224090.-402977@grand-rapids-65-15.iserv. net>
1999-02-23 16:36 ` James Hamilton
  -- strict thread matches above, loose matches on Subject: below --
1999-02-23  2:06 Peter Petrakis
1999-02-23  2:31 ` Ron Farrer
1999-02-21  7:26   ` Jeff DeMaagd
1999-02-23  3:01 ` Dan Morrill
1999-02-23  3:06 ` Daniel J. Frasnelli
1999-02-23 14:26 ` Aaron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox