Interactive /bin/sh

Ian Lepore ian at FreeBSD.org
Sun Dec 15 16:34:23 UTC 2013


On Sun, 2013-12-15 at 11:58 +0100, rank1seeker at 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




More information about the freebsd-hackers mailing list