Skip site navigation (1)Skip section navigation (2)
Date:      12 Nov 1998 03:29:11 +0100
From:      dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        Brian Feldman <green@unixhelp.org>
Cc:        Chuck Robey <chuckr@mat.net>, Satoshi Asami <asami@FreeBSD.ORG>, nate@mt.sri.com, jkh@zippy.cdrom.com, mike@smith.net.au, obrien@NUXI.com, current@FreeBSD.ORG
Subject:   Re: Is it soup yet? :-)
Message-ID:  <xzp7lx1ve2w.fsf@grjottunagard.ifi.uio.no>
In-Reply-To: Brian Feldman's message of "Wed, 11 Nov 1998 21:23:19 -0500 (EST)"
References:  <Pine.BSF.4.05.9811112119330.725-100000@janus.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Feldman <green@unixhelp.org> writes:
> Ex is part of nvi/nex, and is in /usr/bin. Do you mean ed? BTW, as I bring
> this up, I'd like to propose moving nvi/nex to /bin. And of course, why
> don't we add setenv("TERM", "cons25") before the sh spawn in /sbin/init?
> It would prevent the following error in a single-user boot:
> # vi
> ex/vi: Error: unknown: No such file or directory

Well, instead you'll get

ex/vi: Error: cons25: No such file or directory

because for $TERM to be meaningful, you need /usr/share/misc/termcap,
and /usr probably isn't mounted yet (assuming you've moved vi to /bin,
which means linking it statically)

DES
-- 
Dag-Erling Smørgrav - dag-erli@ifi.uio.no

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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