From owner-freebsd-newbies Sun Jun 14 20:49:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA01175 for freebsd-newbies-outgoing; Sun, 14 Jun 1998 20:49:48 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from gamma.aei.ca (root@gamma.aei.ca [206.123.6.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01166 for ; Sun, 14 Jun 1998 20:49:39 -0700 (PDT) (envelope-from malartre@aei.ca) Received: from aei.ca (kaput@pm03-06.aei.ca [206.123.6.156]) by gamma.aei.ca (8.8.5/8.8.5) with ESMTP id XAA17877; Sun, 14 Jun 1998 23:49:28 -0400 (EDT) Message-ID: <35849987.1DFDC6DE@aei.ca> Date: Sun, 14 Jun 1998 23:48:23 -0400 From: Malartre X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: Tim Gerchmez CC: "Kevin G. Eliuk" , freebsd-newbies@FreeBSD.ORG Subject: Re: A first encounter with 'vi' References: <3.0.5.32.19980614203302.007d0800@mx.serv.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tim Gerchmez wrote: > > At 11:21 PM 6/14/98 -0400, you wrote: > > >In fact, I tryed today chsh and it was vi who was the editor. > > Hmm, strange, when I switched from csh to sh it was ee that was the editor, > but vi was the editor when switching back. I think it has something to do > with the default editor set in your home directory. You must have already > been set to vi as the default when you switched. > > I did finally get the thing about command mode and edit mode. The thing > that bugged me was there was no easy way to escape it, even ctrl-alt-del > was trapped and I think I had to shut off my computer to get out of it at > first. Then I read the man pages enough to change the one character I > needed (added "C" before "SH" to change it back to "CSH" and got into > command mode, saved and exited. That did the trick. What kind of an > editor is it when you have to shut down your computer, reboot several > times, read man pages three times to alter one character? Like I said, I > think it would be a fit punishment for someone who committed a serious > crime to have to write a 40 page essay using vi. Do that instead of > sending to jail, and he won't ever commit a crime again :-) > > -- > My web site starts at http://www.serv.net/~fewtch/index.html - > lots of goodies for everyone, have a look if you have the time. Yeah. It was in .profile, .mail, vi was everywhere! I love "ee" but now than I understand vi, its quite easy. Me to, the first time I had to shutdown my computer ;-) I even try to kill the process and it has not worked And ^C dont work to :-) Malartre -- -------------------------------------- malartre@aei.ca ICQ #4224434 www.aei.ca/~malartre/ FreeBSD-2.2.6 -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message