set FILE="~/.config/cshrc.solaris" set TEXT="Solaris .cshrc directives" set VERSION=0.2 if ( $DEBUG == "1" ) echo "${FILE} (${TEXT}) v${VERSION}" ############################################################################### ### Set the default paths ##################################################### ############################################################################### if (-d /usr/sfw/bin) set path = ( $path /usr/sfw/bin ); if (-d /opt/SUNWspro/bin) set path = ( /opt/SUNWspro/bin $path ); if (-d /opt/dt/bin) set path = ( /opt/dt/bin $path ); if (-d /usr/openwin/bin) set path = ( $path /usr/openwin/bin ); if (-d /usr/sfw/man) setenv MANPATH ${MANPATH}:/usr/sfw/man if (-d /opt/SUNWspro/man) setenv MANPATH ${MANPATH}:/opt/SUNWspro/man if (-d /usr/openwin/man) setenv MANPATH ${MANPATH}:/usr/openwin/man set libpath=/usr/lib if (-d /usr/sfw/lib) set libpath=$libpath':/usr/sfw/lib'; if (-d /usr/local/lib) set libpath=$libpath':/usr/local/lib'; if (-d /usr/ccs/lib) set libpath=$libpath':/usr/ccs/lib'; if (-d /usr/ucblib) set libpath=$libpath':/usr/ucblib'; if (-d /usr/dt/lib) set libpath=$libpath':/usr/dt/lib'; if (-d /usr/java/lib) set libpath=$libpath':/usr/java/lib'; if (-d /usr/openwin/lib) set libpath=$libpath':/usr/openwin/lib'; setenv LD_LIBRARY_PATH $libpath unset libpath; ############################################################################### ### Default Compiler Information ############################################## ############################################################################### if ( -r /opt/SUNWspro/bin/cc ) then setenv CC /opt/SUNWspro/bin/cc setenv CXX /opt/SUNWspro/bin/CC else setenv CC /usr/sfw/bin/gcc setenv CXX /usr/sfw/bin/g++ endif ############################################################################### ### Fix terminal on Solaris 8 systems ######################################## ############################################################################### set OS_VERS=`uname -r` if ( "$OS_VERS" == "5.8" ) then setenv TERM vt100 endif