From owner-freebsd-questions Wed May 8 7:22:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.eskimo.com (mx1.eskimo.com [204.122.16.48]) by hub.freebsd.org (Postfix) with ESMTP id 3050537B403 for ; Wed, 8 May 2002 07:22:07 -0700 (PDT) Received: from eskimo.com (ripper@eskimo.com [204.122.16.13]) by mx1.eskimo.com (8.9.1a/8.8.8) with ESMTP id HAA02480; Wed, 8 May 2002 07:22:06 -0700 Received: (from ripper@localhost) by eskimo.com (8.9.1a/8.9.1) id HAA04418; Wed, 8 May 2002 07:22:06 -0700 (PDT) Date: Wed, 8 May 2002 07:22:06 -0700 (PDT) Message-Id: <200205081422.HAA04418@eskimo.com> From: Ross Lippert To: bts@babbleon.org Cc: freebsd-questions@FreeBSD.ORG In-reply-to: <20020508134414.C93A5BB29@i8k.babbleon.org> (bts@babbleon.org) Subject: Re: an editor in /bin Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK, perhaps I was uniquely screwed in this situation, but I had something wrong in my fstab and it wouldn't mount usr, which is why I needed to boot single-user and edit fstab to repair it. -r Content-Type: text/plain; charset="iso-8859-1" From: "Brian T.Schellenberger" To: Ross Lippert , freebsd-questions@FreeBSD.ORG Subject: Re: an editor in /bin Date: Wed, 8 May 2002 09:44:14 -0400 X-Mailer: KMail [version 1.3] References: <200205081326.GAA02899@eskimo.com> In-Reply-To: <200205081326.GAA02899@eskimo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Why not just mount /usr after you get into single-user mode? On Wednesday 08 May 2002 09:26 am, Ross Lippert wrote: | One of the shocks I had when booting in single-user mode to | fix something was the lack of an editor in /bin other than | ed. I guess my questions are: | | 1) is there a better editor in /bin than ed? | | 2) (if yes) shouldn't there be a better editor in /bin than ed? | FreeBSD was a major impetus for me to learn vi (pretty much bc emacs | is a port). I don't see myself learning something more spartan than | vi, but maybe there is some value someone can point out using ed. | | 3) (if yes) should that editor be vi or ee? | One piece of good user-friendliness which has happened recently in | freebsd is the use of ee as the default editor in sysinstall instead | of vi. This has been very helpful for newbies. I can attest to | sitting over the shoulder of one newbie who has gone on to learn vi, | but would have freaked out if her first taste of it was during the | install. She got through ee just fine. I'd really like to see ee | used as the default editor in vipw as well, for the sake of | consistency (eepw, anyone?). | | On the other hand, vi needs to be learned for certain tasks like vipw | and visudo (assuming ee versions of these gadgets can't easily be | made), so vi is here to stay, and perhaps anyone who can't use vi has | no business booting freeBSD into single-user mode. | | space considerations: | vi is 304k, ee is 54k, ed is 138k | | | -r | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-questions" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org http://www.eff.org http://www.programming-freedom.org If you smell the smoke you don't need to be told what you've got to do; Yet there's a certain breed, so very in-between, they'd rather take a vote. -- DEVO -- Here To Go To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message