The following patch enables ksh on Solaris/SunOS to source
/etc/ksh.kshrc for interactive logins like it is done on Linux:
#####CUT#HERE########CUT#HERE########CUT#HERE####
--- ./src/cmd/ksh93/features/options Fri Mar 25 21:37:14 2005
+++ ./src/cmd/ksh93/features/options Mon Jul 10 14:06:36 2006
@@ -33,7 +33,7 @@
option PFSH $?
/bin/test ! -l . 2> /dev/null
option TEST_L $?
- test -f /etc/ksh.kshrc -o -f /etc/bash.bashrc &&
+ test -f /etc/ksh.kshrc -o -f /etc/bash.bashrc -o "`uname -s`"
= "SunOS" &&
option SYSRC 0
test -f /bin/universe && univ=`/bin/universe` > /dev/null 2>&1
-a ucb = "$univ"
option UCB $?
#####CUT#HERE########CUT#HERE########CUT#HERE####
Roland and Glenn: Could you include this patch in your sources, please?
--
// Martin Schaffstall
// EMail: martin.schaffstall at googlemail.com
\\ //
\X/