[ksh93-integration-discuss] Re: /etc/ksh.kshrc for ksh93[PSARC/2006/587 Timeout: 10/24/2006]
Roland Mainz
roland.mainz at nrubsig.org
Tue Oct 17 16:05:21 PDT 2006
Alan Coopersmith wrote:
> Don Cragun wrote:
> > This case proposes to introduce the new file /etc/ksh.kshrc to the
> > system, as a per-system configuration file for interactive ksh93 (Korn
> > Shell).
>
> Will this file be used by the existing ksh88-based shells in Solaris?
> (/usr/bin/ksh, /usr/xpg4/bin/sh, and /usr/dt/bin/dtksh)
> If so, will the proposed contents be compatible with them or affect them?
The old Solaris /usr/bin/ksh and it's /usr/xpg4/bin/sh derivate do not
recognize /etc/ksh.kshrc (unfortunately - this issue cases some pain for
adminstrators).
dtksh does not recognize it either but only because the Sun version is
based on an ancient ksh93d-_alpha base. If we would update the Solaris
version to use the new ksh93 basis then it would recognize
/etc/ksh.kshrc - but this would be no problem for existing dtksh scripts
because /etc/ksh.kshrc and ~/.kshrc are only read for interactive shells
(and I doubt that any dtksh users would complain about having a default
editor mode turned-on by default for an interactive dtksh session... :-)
).
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the ksh93-integration-discuss
mailing list