switch ( "`id`" )
case uid=[1-9]*:
 
   setenv ARCH `arch` # changed on 9.9.99
 
   if ( ! $?USER ) then
      setenv USER $LOGNAME # set USER for NQS jobs
   endif
 
   if ( ! $?MAIL ) then
      setenv MAIL /var/spool/mail/$USER # changed on 9.9.99
   endif
 
   setenv APPLDIR /p/appl
   setenv DOC $APPLDIR/doc
#   setenv MANPATH /usr/share/catman:/usr/catman:\
#   /p/man # changed on 9.9.99
   setenv PAGER less
   setenv PRINTER csc_text
   setenv LESS "-Men"
   setenv LESSCHARSET latin1
   setenv CFINPUTS /etc/cfengine  # added 13.1.2000
   setenv Arch $ARCH
 
   setenv XFILESEARCHPATH /p/X/lib/X11/app-defaults/%N:\
/p/X5/lib/X11/app-defaults/%N:/usr/lib/X11/app-defaults/%N
   setenv SWBDIR /v/gen/X/swb
   setenv LC_ALL en_US
   setenv LANG en_US
   setenv MP_SET_NUMTHREADS 2
   setenv MPC_NUM_THREADS 2
 
   umask 077
 
# test 20020923 psavola
unset dspmbyte
 
   set path = ( /usr/alt/sysdep/bin ) # changed on 9.9.99
   set path = ($path /f/bin /usr/sbin /usr/bsd \
/sbin /usr/bin /bin /l/bin /p/bin /p/appl/bin)
   set path = ($path /p/X/bin /p/X5/bin \
/usr/bin/X11 /p/gnu/bin /usr/local/bin)
   set path = ($path $HOME/bin $HOME/bin/$ARCH)
 
   breaksw
 
default:
   breaksw
 
endsw
Topic revision: r2 - 2006-09-20 - AnssiYliJyra
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback