From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 16 01:49:48 2013 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B127AD71; Mon, 16 Dec 2013 01:49:48 +0000 (UTC) Received: from namiki.dds.nl (smtp8.dds.nl [85.17.178.158]) by mx1.freebsd.org (Postfix) with ESMTP id 75E8C14C3; Mon, 16 Dec 2013 01:49:47 +0000 (UTC) Received: from [192.168.1.36] (195-241-24-75.ip.open.net [195.241.24.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by namiki.dds.nl (Postfix) with ESMTPSA id 8E78515FFB; Mon, 16 Dec 2013 02:36:31 +0100 (CET) Message-ID: <52AE5AC5.9050206@dds.nl> Date: Mon, 16 Dec 2013 02:43:33 +0100 From: Alex de Kruijff User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: hackers@FreeBSD.org Subject: Re: Interactive /bin/sh References: <20131215.105840.948.1@DOMY-PC> <1387125253.1177.2.camel@revolution.hippie.lan> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at namiki X-Virus-Status: Clean X-Mailman-Approved-At: Mon, 16 Dec 2013 02:28:01 +0000 Cc: rank1seeker@gmail.com, Ian Lepore X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 01:49:48 -0000 Warren Block schreef op 16-12-2013 2:00: > On Sun, 15 Dec 2013, Ian Lepore wrote: > >>> If just those 2 features would be implemented, I would be completely >>> into /bin/sh >> >> An alternate viewpoint: I would prefer that /bin/sh remain as lean and >> mean as possible, conforming to posix and especially NOT becoming >> bloated with interactive usability stuff. If you want a user-friendly >> bourne shell and can afford the memory and cycle bloat, use bash. > > An alternate, alternate viewpoint: the code that keeps the command > history is already there, adding code that searches through it for > completion would probably not make it significantly larger. So the > cost is small. > > If people want to use it as their main shell, that's fine. Personally, > I would just like it to make things easier and faster when only sh is > available. The command history was a good step in that direction. There are proberly al lot of features that would come with low cost on there own, but it all adds up. I personaly give preference to tcsh and only use sh for shell programming.