🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.userlevel
Article #21

Re: A new editor

#21
From: Greg Troxel
Date: Sat, 17 Oct 2026 16:41
30 lines
3069 bytes
Crystal Kolipe <kolipe.c@exoticsilicon.com> writes:

> On Sat, Oct 17, 2026 at 05:23:40PM +0200, tlaronde@kergis.com wrote:
>> > On Fri, Oct 16, 2026 at 11:35:19AM +0000, nia wrote:
>> > NetBSD is having an influx of new users. Some have mentioned having no
>> > alternative screen editor to vi(1) in base is an obstacle to getting
>> > their system configured. I've been trying to point new users to
>> > xedit(1), but this doesn't help if they're in single-user mode or
>> > can't get X running, or are limited to /rescue.
>> > 
>> 
>> There is one "line (1D)" editor: ed(1). All the others are 2D even if
>> they are masquerading behind curses as console i.e. "command line"
>> utility and if the 2D environment is not correctly set up, you are
>> screwed. Ed(1) is worth mastering.
>
> In case the 1D environment is not correctly set up, it's well worth mastering
> 'echo' and the shell redirection :-).

True, but back when I was walking uphill both ways, the only editor was
ed(1) (Sixth Edition Unix, 1977).  It worked fine on a printing
terminal.  If you can type shell commands, it works -- no curses needed.
It's in /bin so you can use it to fix fstab so you can mount /usr.  But
it is not beginner-friendly at all.  The only diagnostic is '?', and it
only prints lines when you explicitly ask.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <rmiqzho1dr3.fsf@s1.lexort.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <> <atOUpmOpFTlp8HsU@exoticsilicon.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Greg Troxel <gdt@lexort.com>
Newsgroups: muc.lists.netbsd.tech.userlevel
Subject: Re: A new editor
Date: Sat, 17 Oct 2026 12:41:04 -0400
Organization: Newsgate at muc.de e.V.
Sender: tech-userlevel-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <rmiqzho1dr3.fsf@s1.lexort.com>
References: <> <atOUpmOpFTlp8HsU@exoticsilicon.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="39666"; mail-complaints-to="news-admin@muc.de"
User-Agent: Gnus/5.13 (Gnus v5.13)
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (1024-bit key) header.d=lexort.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lexort.com; s=mail;
	t=1792255264; bh=PyeP0qdU/x1iu2Mk7C5O84Twx5shDC73ZR6R6E+DBLg=;
	h=From:To:Cc:Subject:In-Reply-To:References:Date;
	b=B02jZSEBINAhc/Vm7iXBoXcPL6flwll+uqs1K+5tprMDOuzM1iuMSRbOdnBEwFN39
	 OnhE/8I/e+eLRXxXbLiCWS9rS9IrHeH4Pp8z2LT9Cx5hHzfYNFgfTt+/8w8IPGPq7X
	 A5+pKCOGTSEqZ3Op646hj/bS64iq4SmdVm+URXSo=
In-Reply-To: <atOUpmOpFTlp8HsU@exoticsilicon.com> (Crystal Kolipe's message of
	"Sat, 17 Oct 2026 15:30:46 -0000")
OpenPGP: id=098ED60E
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes