Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 1998 09:01:37 +1030
From:      Greg Lehey <grog@lemis.com>
To:        gmarco@giovannelli.it, questions@FreeBSD.ORG
Subject:   Editors in /bin (was: Why ...)
Message-ID:  <19981221090137.F24125@freebie.lemis.com>
In-Reply-To: <199812200805.JAA00654@www.giovannelli.it>; from Gianmarco Giovannelli on Sun, Dec 20, 1998 at 01:55:56AM %2B0100
References:  <199812200805.JAA00654@www.giovannelli.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 20 December 1998 at  1:55:56 +0100, Gianmarco Giovannelli wrote:
>
> Why there is no text editor in /bin or /sbin or /stand (a simple
> text editor, vi, ee or anything else) ?

There is: ed

> I have the /usr mounted async ... How can edited a file (like
> something in /etc) if I am not able to mount the /usr ?
>
> The only thing I found is ed in /bin but it isn't so much fair to use...

It's the traditional ``small'' editor.  On my PDP-11, it is all of
9418 bytes long.  vi is 82438 bytes long and is in /usr/ucb (since
it's BSD software).

Sure, you can argue that this is no longer appropriate.  But the
shared libraries are also in /usr, so any editor in the root file
system must be statically linked.  Then the question arises: which
editor should it be.  The answer's simple: the one *you* want.  Just
link it statically and put it in /bin (not /sbin).

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

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?19981221090137.F24125>