#CVSROOT=:ext:krasberg@glacier.lbl.gov:/home/icecube/cvsroot
 
#BFDROOT=/home/icecube/tools/bfd-tools/bfdroot
BFDROOT=/usr/local/icecube/tools/bfd-tools/bfdroot

CVS_RSH=ssh
CVSROOT=:pserver:bfd@glacier.lbl.gov:/home/icecube/cvsroot
JAVA_HOME=/usr/java/j2sdk1.4.2_05
PATH=${PATH}:${JAVA_HOME}/bin:${HOME}/bin:/sbin
PATH=$PATH:/usr/local/hutil:/usr/local/python
PATH=${PATH}:/usr/arm-elf/bin
PATH=${PATH}:/usr/local/jython
PATH=${PATH}:${HOME}/work/tools/bin
#PATH=${PATH}:/usr/local/IntelliJ-IDEA-4.0.3/bin
PATH=${PATH}:/usr/local/IntelliJ-IDEA-4.5/bin
PATH=${PATH}:/usr/local/icecube/bin


source bin/set_classpath
export CVS_RSH CVSROOT
export BFDROOT JAVA_HOME ANT_HOME 

#export MONOLITH_HOME=$HOME/work-monolith
#PATH=${PATH}:${MONOLITH_HOME}/monolith/scripts

export MONOLITH_HOME=/usr/local/
PATH=${PATH}:${MONOLITH_HOME}/monolith/bin


alias java=$JAVA_HOME/bin/java
# export CERN CERN_LEVEL CERNLIB LD_LIBRARY_PATH
# export PYTHONPATH=/home/icecube/PyDOM:/home/icecube/lib/python2.2/site-packages
# export PYTHONPATH=/home/testdaq/PyDOM
#export CLASSPATH
export PERLLIB=/home/krasberg/perl/lib
# LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/i386-glibc20-linux/lib
# LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
# LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/cern/pro/lib

#LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar:$LOCALCLASSPATH

alias stf="echo REMEMBER: DO NOT RUN ON ALL T even or ALL U odd DOMs at THE SAME TIME;java icecube.daq.stf.STF"


#source /home/testdaq/setup.sh
#
# if you don't want to show the user:
#
#
# 30=black 31=red 32=green 33=orange 34=blue 35=purple 36=torquoise 37=grey
#
#PS1="\[\033[0;35m\]\h \[\033[0;29m\]\$PWD/ "
#
# if you want the user as well:
#
PS1="\[\033[0;31m\]\h \[\033[0;34m\]\u \[\033[0;33m\]\$PWD/\[\033[0;29m\] "
#source set_prompt_long
#
export PS1

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

case $- in
  *i*) : # interactive
     # commands for interactive shells go here
 echo
 echo "for icecube software help, type 'icehelp'"
 echo
    ;;
  *)  : # non interactive
     # commands for non-interactive shells go here
    ;;
esac

alias now='date +"%G%m%d%H%M%S"'
alias ec='grep -i -e error -e exception -e requested latest_data/*/*.testdaq* latest_data/*/*.dataq*'
