# .login
setenv PATH /bin:/sbin:/usr/bin:/usr/sbin:/home2/chris/bin:/usr/X11R6/bin:/usr/java/jre1.3.1_01/bin:/usr/local/bin:.

set autolist
set color
set colorcat
set nobeep
set noclobber
set history = 1000
set savehist = 1000 merge
set histfile = ~/.tcsh.d/history

setenv CERN /usr/local/cern
setenv CERN_LEVEL 2001
setenv pdfVersion 804
setenv LITE_VERSION cvs
setenv LITE_PATH /usr/local
setenv LITE_ROOT /usr/local/nomadlite
setenv NOMAD_LEVEL cvs
setenv NOMAD /usr/local/nomadlite
 
alias hostname 'hostname -s'

switch ( `hostname` )

case "barney"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "merlin"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "jekyl"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "yoda"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "gonzo"
setenv CERN /gonzo3/cern
setenv LITE_PATH /gonzo3
setenv LITE_ROOT /gonzo3/nomadlite
setenv NOMAD_LEVEL cvs
setenv NOMAD /gonzo3/nomadlite
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /gonzo3/cern/2001
breaksw

case "fozzie"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "kermit"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "fred"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "loki"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "slayer"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "snoopy"
source $LITE_PATH/nomadlite/$LITE_VERSION/scripts/nomad_cshrc
setenv CERN_ROOT /usr/local/cern/2001
breaksw

case "cpeven"
setenv CERN_ROOT /cern/98
breaksw

case "beauty"
setenv CERN_ROOT /cern/98
breaksw

endsw


#setenv CERN /usr/local/cern
setenv HOSTNAME `/bin/hostname`

setenv CVS_RSH ssh
#setenv CVSROOT :ext:minoscvs@minos1.fnal.gov:/cvs/minoscvs/rep1
#setenv CVSROOT :ext:lxplus@cern.ch:/afs/cern.ch/nomad/SoftRep/cvsroot
 
alias cd 'cd \!*;set prompt="`hostname -s`:`dirs`> "'
alias gztar 'tar -cvf - \!\!:2* | gzip > \!^'
alias ungztar 'gunzip -c \!^ | tar -xvf -'
alias slayer 'ssh -l chris slayer.physics.sc.edu'
alias loki 'ssh -l chris loki.physics.sc.edu'
alias barney 'ssh -l chris barney.physics.sc.edu'
alias kermit 'ssh -l chris kermit.physics.sc.edu'
alias fozzie 'ssh -l chris fozzie.physics.sc.edu'
alias gonzo 'ssh -l chris gonzo.physics.sc.edu'
alias muon 'ssh -l chris muon.physics.sc.edu'
alias paw 'pawX11'
alias konsole 'konsole -caption "$USER@$HOST"'
alias less 'less -X'
alias ftpaxnd02 'ftp -i axnd02.cern.ch'
alias ftpaxnd05 'ftp -i axnd05.cern.ch'
alias print 'a2ps -2 -2 -P lp0'
alias printl 'a2ps -1 -L66 -r -Pelgreco'
alias printh 'a2ps -2 -2 -P lp7'
alias printlh 'a2ps -1 -L66 -r -P lp7'
 
alias ls 'ls --color=never'

# for Root package:
setenv ROOTSYS /usr/local/root
set path=($path $ROOTSYS/bin)
#setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:$ROOTSYS/lib
setenv LD_LIBRARY_PATH $ROOTSYS/lib

#setenv LSF_ENVDIR /usr/lsf/mnt/conf
#set path=(/usr/lsf/bin $path)
#setenv MANPATH /usr/lsf/mnt/man
set path=(/usr/nqs/bin $path)

set prompt="`hostname -s`:`dirs`> "
#unalias rm
unalias passwd

set autolist

alias ls "ls --color"
alias grep 'grep -n --color'
