Interactive /bin/sh

Edward Tomasz Napierała trasz at FreeBSD.org
Sun Dec 15 21:34:52 UTC 2013


Wiadomość napisana przez Ian Lepore <ian at FreeBSD.org> w dniu 15 gru 2013, o godz. 17:34:
> 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. 

Or zsh, which has a number of advantages, including proper license.



More information about the freebsd-hackers mailing list