From owner-freebsd-arch@FreeBSD.ORG Sun Jun 20 10:43:25 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3415E1065673 for ; Sun, 20 Jun 2010 10:43:25 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id CDF238FC1E for ; Sun, 20 Jun 2010 10:43:24 +0000 (UTC) Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id 8534F18F85D; Sun, 20 Jun 2010 05:18:39 -0500 (CDT) Received: from 10.0.10.3 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id AU8V6X1A1A2O; Sun, 20 Jun 2010 05:18:39 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <20100620090019.GA1731@mole.fafoe.narf.at> Date: Sun, 20 Jun 2010 11:18:36 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0B47D84F-23BE-4D05-AAFF-211CA6BB6BD4@FreeBSD.org> References: <20100619113126.GB83874@stack.nl> <20100620090019.GA1731@mole.fafoe.narf.at> To: Stefan Farfeleder X-Mailer: Apple Mail (2.1081) Cc: Jilles Tjoelker , freebsd-arch@freebsd.org Subject: Re: Further sh(1) plans X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 10:43:25 -0000 On 20 Jun 2010, at 10:00, Stefan Farfeleder wrote: > On Sat, Jun 19, 2010 at 01:31:26PM +0200, Jilles Tjoelker wrote: >>=20 >> 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. >=20 > 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