Subject: Re: Usability and the default shell
To: Christos Zoulas <christos@astron.com>
From: Zafer Aydogan <zafer@aydogan.de>
List: tech-userlevel
Date: 01/09/2007 12:57:55
I'm getting following error, after logging in, when using ksh, as the
root shell.

ksh: /etc/shrc[1]: syntax error: `(' unexpected

Workaround is to comment out the first line in /etc/shrc.
Btw, this doesn't happen, when using ksh, as a user shell.

Zafer.


2006/10/6, Christos Zoulas <christos@astron.com>:
> In article <20061006165404.GH2083@apb-laptoy.apb.alt.za>,
> Alan Barrett  <apb@cequrux.com> 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 am fine with all that.
>
> christos
>
>