Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 07:22:06 -0700 (PDT)
From:      Ross Lippert <ripper@eskimo.com>
To:        bts@babbleon.org
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: an editor in /bin
Message-ID:  <200205081422.HAA04418@eskimo.com>
In-Reply-To: <20020508134414.C93A5BB29@i8k.babbleon.org> (bts@babbleon.org)

next in thread | previous in thread | raw e-mail | index | archive | help

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" <bts@babbleon.org>
To: Ross Lippert <ripper@eskimo.com>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205081422.HAA04418>