Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 09:34:13 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        rank1seeker@gmail.com
Cc:        hackers@FreeBSD.org
Subject:   Re: Interactive /bin/sh
Message-ID:  <1387125253.1177.2.camel@revolution.hippie.lan>
In-Reply-To: <20131215.105840.948.1@DOMY-PC>
References:  <20131215.105840.948.1@DOMY-PC>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2013-12-15 at 11:58 +0100, rank1seeker@gmail.com wrote:
> I'm just a step away from making it a default shell for a root.
> 
> What is missing is:
> --
> command completion (it has only path completion)
> 
> history doesn't work the way I would like it to.
> With UP/DOWN arrow keys, I can navigate through history, SEQUENTIALLY.
> Like in [t]csh -> I would like to type first few letters and then with UP/DOWN arrow keys, navigate through history of CMDs, which starts with typed string.
> 
> 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. 

Please keep /bin/sh lightweight for embedded and dedicated-purpose
systems that need a posix-conforming shell without a ton of overhead.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1387125253.1177.2.camel>