Date: Thu, 9 May 2002 21:51:27 -0300 (ART) From: Fernando Gleiser <fgleiser@cactus.fi.uba.ar> To: Matthias Buelow <mkb@informatik.uni-wuerzburg.de> Cc: <freebsd-questions@freebsd.org> Subject: Re: an editor in /bin Message-ID: <20020509214353.C41150-100000@localhost> In-Reply-To: <20020510002617.GC21593@reiher.informatik.uni-wuerzburg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 May 2002, Matthias Buelow wrote: > Fernando Gleiser writes: > > >There is a problem: in single user mode, /usr may not be mounted. If /usr > >is not mounted the terminfo database is not available and any curses-based > >aplication (such like vi or ee) can't work properly. > > Since when does BSD use the terminfo db? Last time I looked, vi etc. > were linked against termcap (or curses), which used the /etc/termcap > file (unlike on System V, of course.) Yep, it seems you are right. I've been doing too much solaris lately =0) > > >That's why in /bin you have ed which is a line editor and not a full screen > >one. > > I rather think ed is in /bin because it's always been there (and many > programs and scripts and users expect it to be there.) Yes. And you need an editor in single user mode, even if it is a very simple one. The original poster asked why ed is in /bin and vi or ee are not. The answer is almost the same: vi and ee need some things which are in /usr, and /usr may not be available in single user mode. Fer > > > --mkb > 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?20020509214353.C41150-100000>