Further sh(1) plans

Rui Paulo rpaulo at FreeBSD.org
Sun Jun 20 10:43:25 UTC 2010


On 20 Jun 2010, at 10:00, Stefan Farfeleder wrote:

> On Sat, Jun 19, 2010 at 01:31:26PM +0200, Jilles Tjoelker wrote:
>> 
>> For embedded systems, it may be best to disable libedit entirely in the
>> end product (we don't currently have a knob for this). If you need to
>> log in to such a system, the additions will likely be useful, as there
>> may not be any other shell on the system. The completion code is fairly
>> small compared to the rest of libedit.
> 
> Maybe we could compile two sh binaries, an interactive one with all the
> fancy features enabled (filename completion, history editing, mail
> checking etc.) and a simple one only for scripting?
> I don't know if it makes a real difference though.

I don't think it makes any difference. NetBSD's sh has filename completion and other things for ages and there's no significant penalty on embedded systems.

Regards,
--
Rui Paulo




More information about the freebsd-arch mailing list