Date: Mon, 3 Sep 2007 15:52:58 +0400 From: Yar Tikhiy <yar@comp.chem.msu.su> To: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de> Cc: hackers@freebsd.org, Tim Kientzle <kientzle@freebsd.org> Subject: Re: Useful tools missing from /rescue Message-ID: <20070903115258.GG30502@comp.chem.msu.su> In-Reply-To: <46DB0834.1060109@fs.ei.tum.de> References: <20070901073440.GL85633@comp.chem.msu.su> <46DAFE5C.6070806@freebsd.org> <46DB0834.1060109@fs.ei.tum.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 02, 2007 at 09:00:04PM +0200, Simon 'corecode' Schubert wrote: > Tim Kientzle wrote: > >I atttempted to > >fit 'vi' in there, but curses is rather finicky; > >'sed' would be more useful. > > Mined is a nice editor for this, running without curses. A statically > linked, stripped binary is about 100k in size, so if crunched it would > have a very small impact. It even used to be in our src tree under release/picobsd. However, if we revive it, we'll have to support as many as 4 text editors in the base system, which can be a bit too many. The main problem with /rescue/vi is its being totally useless without the termcap file from /usr, as discussed under PR bin/80256. The solutions suggested there are more or less based on introducing additional trimmed down termcap files in the src tree, which is no better than having 4 editors to support. I'd rather write a small script to extract a subset of terminal types from the main termcap file, and install it as /rescue/termcap. -- Yar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070903115258.GG30502>