From owner-freebsd-arch@FreeBSD.ORG Tue Jun 22 16:15:41 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 703D2106566C for ; Tue, 22 Jun 2010 16:15:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3241D8FC08 for ; Tue, 22 Jun 2010 16:15:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o5MGCKtN049118; Tue, 22 Jun 2010 10:12:21 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 22 Jun 2010 10:12:28 -0600 (MDT) Message-Id: <20100622.101228.1126759349826037470.imp@bsdimp.com> To: jilles@stack.nl From: "M. Warner Losh" In-Reply-To: <20100619113126.GB83874@stack.nl> References: <20100619113126.GB83874@stack.nl> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: 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: Tue, 22 Jun 2010 16:15:41 -0000 In message: <20100619113126.GB83874@stack.nl> Jilles Tjoelker writes: : It appears useful to say some more about my plans with sh(1). In general, I really like your plans. I've had minor issues with sh(1) for years, but have always been able to work around them. Of course, I'd have much rather had the underlying issues fixed at the time, but sometimes life is too short and a 1 line hack to a misbehaving script is easier... : 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. How big are both of these parts? libedit is ~110k on my amd64 box. How big is the completion code you've added? A few k is likely worth it, but 50k likely is starting to be not worth it. I'd be happy to work with you on knobs here. Warner