Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 1998 14:02:26 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Sue Blake <sue@welearn.com.au>
Cc:        gmarco@giovannelli.it, questions@FreeBSD.ORG
Subject:   Re: Editors in /bin (was: Why ...)
Message-ID:  <19981221140226.Q24125@freebie.lemis.com>
In-Reply-To: <19981221140738.21638@welearn.com.au>; from Sue Blake on Mon, Dec 21, 1998 at 02:07:38PM %2B1100
References:  <199812200805.JAA00654@www.giovannelli.it> <19981221090137.F24125@freebie.lemis.com> <19981221140738.21638@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 21 December 1998 at 14:07:38 +1100, Sue Blake wrote:
> On Mon, Dec 21, 1998 at 09:01:37AM +1030, Greg Lehey wrote:
>> 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.
>
> Oh, so it's not the same as we use these days? When I used the PDP-11
> ed, I couldn't tell the difference, it felt just like home. There ya
> go!

Take a look at the sources:

FreeBSD:

-rw-r--r--  1 grog  lemis   6879 Dec 31  1997 buf.c
-rw-r--r--  1 grog  lemis  11025 Aug  8  1997 cbc.c
-rw-r--r--  1 grog  lemis   6243 Aug  8  1997 glbl.c
-rw-r--r--  1 grog  lemis   8961 Aug  8  1997 io.c
-rw-r--r--  1 grog  lemis  32518 Aug  8 17:07 main.c
-rw-r--r--  1 grog  lemis   3835 Aug  8  1997 re.c
-rw-r--r--  1 grog  lemis   6972 Aug  8 17:07 sub.c
-rw-r--r--  1 grog  lemis   4455 Aug  8  1997 undo.c

2.11BSD:

-r--r-----  1 root        21738 Feb  9  1987 ed.c

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?19981221140226.Q24125>