Subject: Re: Changing default shell
To: None <tech-userlevel@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: tech-userlevel
Date: 09/18/2006 19:54:29
Pavel Cahyna --> tech-userlevel (2006-09-18 18:57:52 +0200):
> Hello,
> 
> new users of NetBSD often complain about the shell. The default shell (for
> non-root users) is csh, which has no interactive command line editing.
> Pressing an arrow key in csh generates a beep and inserts some
> linenoise-like sequence like [A, which is nonintuitive and not what people
> usually want.
> 
> Therefore, I propose to change the default shell to /bin/sh, which has
> quite reasonable line editing functionality. It would mean a small change
> to usr.sbin/user/user.c . I would also remove the "toor" account from
> master.passwd, which is now unnecessary, as the default root shell is
> /bin/sh now.
> 
> Any strong reasons against this change?

No, but what about ksh instead of sh? Isn't ksh commonly considered
to be the better shell for interactive use?


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~