# # @(#)local.profile 1.4 93/09/15 SMI # stty istrip # # Modified for DMCL use. Version 981201 # cpuArch=`uname -p` # # Solaris Paths # N.B. /usr/ucb names intersect with SVr4 names # # path to executables export PATH PATH=/usr/bin:/usr/sbin:/usr/ucb # path to shared libraries export LD_LIBRARY_PATH LD_LIBRARY_PATH=/usr/lib # path to manpages export MANPATH MANPATH=/usr/man # # CDE # dtHome=${dtHome:="/usr/dt"} # Put after existing paths if [ -d ${dtHome} ]; then XFILESEARCHPATH=${XFILESEARCHPATH}:${dtHome}/%T/%N%S PATH=${PATH}:${dtHome}/bin MANPATH=${MANPATH}:${dtHome}/man LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${dtHome}/lib fi # # Openwin # OPENWINHOME=${OPENWINHOME:="/usr/openwin"} # Put after existing paths if [ -d ${OPENWINHOME} ] ; then export HELPPATH HELPPATH=${OPENWINHOME}/lib/locale:${OPENWINHOME}/lib/help # path to X resources (e.g., app-defaults) export XFILESEARCHPATH XFILESEARCHPATH=${OPENWINHOME}/lib/locale/%L/%T/%N%S:${OPENWINHOME}/lib/%T/%N%S PATH=${PATH}:/usr/openwin/bin LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${OPENWINHOME}/lib MANPATH=${MANPATH}:${OPENWINHOME}/man fi # # Personal Path # This path before DMCL local paths to allow user to override # PATH=${PATH}:$HOME/bin/${cpuArch} LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$HOME/lib/${cpuArch} MANPATH=${MANPATH}:$HOME/man # # DMCL and Summertime_XX (DMCL NFS PATH organization) # # In addition to the software included with Solaris host installation: # # /opt - Solaris optional packages (e.g., Sun Compilers) # /opt/local - Collections of "packaged" software from the Internet, # e.g., GNU software such as gzip. # (/opt/local is a link to /opt/Summertime_XX.${cpuArch}) # (See ~dadmin/DMCL_Software/S98/sysadmin.sparc/local.profile) # /usr/local - Un-"packaged" software. This includes updates # and additions to the software in /opt/local # # local0=/usr/local local1=/opt/local # Current Summertime local2=/opt/local.old # Previous Summertime TEXPATH=${local0}/teTeX xfspSfx=lib/X11/%T/%N%S XFILESEARCHPATH=${XFILESEARCHPATH}:${local0}/${xfspSfx}:${local1}/${xfspSfx}:${local2}/${xfspSfx} PATH=${PATH}:${local0}/bin:${local1}/bin:${local2}/bin:$TEXPATH/bin LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${local0}/lib:${local1}/lib:${local2}/lib:$TEXPATH/lib MANPATH=${MANPATH}:${local0}/man:${local1}/man:${local2}/man:$TEXPATH/man # # Solaris Tools / Sun Workshop paths # # When you use the Sun compilers, these should go at the # head of the path so as to avoid interference from identically # named tools (e.g. some GNU configurations). # wsBase=/opt/SUNWspro # Production Sun compilers (v4.2) #wsBase=/opt/WS5.0EA # Early access Sun compilers (v5.0) PATH=${wsBase}/bin:/usr/ccs/bin:${PATH} LD_LIBRARY_PATH=${wsBase}/lib:/usr/ccs/lib:${LD_LIBRARY_PATH} MANPATH=${wsBase}/man:${MANPATH} # # Netscape # # Taken care of by /usr/local/bin/netscape (script) # #export MOZILLA_HOME #MOZILLA_HOME=/usr/local/netscape/current # ksh/bash sources $ENV each shell open. (t)csh sources .cshrc implicitly export ENV ENV=$HOME/`echo $SHELL |sed -e 's?/bin/\(.*\)?\.\1rc?'` # # From /etc/skel/local.profile # # # If possible, start the windows system # if [ `tty` = "/dev/console" ] ; then if [ "$TERM" = "sun" -o "$TERM" = "AT386" ] ; then if [ ${OPENWINHOME:-""} = "" ] ; then OPENWINHOME=/usr/openwin export OPENWINHOME fi echo "" echo "Starting OpenWindows in 5 seconds (type Control-C to interrupt)" sleep 5 echo "" $OPENWINHOME/bin/openwin clear # get rid of annoying cursor rectangle exit # logout after leaving windows system fi fi