From owner-freebsd-newbies Sun Jun 14 20:33:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA28843 for freebsd-newbies-outgoing; Sun, 14 Jun 1998 20:33:11 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from mx.serv.net (mx.serv.net [205.153.153.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA28835 for ; Sun, 14 Jun 1998 20:33:06 -0700 (PDT) (envelope-from fewtch@serv.net) Received: from desktop-pentium (dialup506.serv.net [207.207.70.71]) by mx.serv.net (8.8.5/8.8.5) with SMTP id UAA14661; Sun, 14 Jun 1998 20:33:14 -0700 (PDT) Message-Id: <3.0.5.32.19980614203302.007d0800@mx.serv.net> X-Sender: fewtch@mx.serv.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 14 Jun 1998 20:33:02 -0700 To: Malartre , "Kevin G. Eliuk" From: Tim Gerchmez Subject: Re: A first encounter with 'vi' Cc: freebsd-newbies@FreeBSD.ORG In-Reply-To: <35849338.876944E0@aei.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message