Subject: Re: Usability and the default shell
To: None <tech-userlevel@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-userlevel
Date: 10/06/2006 22:37:41
Alan Barrett wrote:
> On Fri, 06 Oct 2006, Pavel Cahyna wrote:
> 
>>>a) /bin/sh's built-in default is no line editing at all.
>>>b) There is no default /etc/skel/.shrc.
>>
>>http://cvsweb.netbsd.org/bsdweb.cgi/src/etc/skel/dot.shrc
> 
> 
> Oh, I missed that.  Thanks.
> 
> What do people think about adding "set -o tabcomplete" to /etc/shrc?
> 
> Changing tabcomplete to treat the first word specially (look for
> commands instead of files)?
> 
> Implementing braceexpand?  (Which should definitely be off in sh's
> built-in defaults, because it breaks script compatibility.)
> 
> If all that was done, I could stop using bash.

I didn't know that the NetBSD /bin/sh was so powerful. I think for an 
interactive shell all those nice-to-have features should be enabled. 
This will make users think twice if they need Bash at all. I just need 
Bash for command line editing and tab completion. :)

Roland