# This .tcshrc is based on Hsi-Guang's .tcshrc
# 
set ignoreeof

source $HOME/.cshrc

# Make sure that term is defined
if ( ! ${?term} ) set term = 'vt100'

# Some tcshrc specific stuff

set history = 50 savehist = 50
#set correct = all

# And some general stuff
set host = `hostname`
# set prompt="`hostname`.`whoami`\:`echo $cwd` - ! -->\n" 
set prompt = "`hostname`:`echo $cwd` - !\n% "

# If it is accidentally set
unalias rm

# alias setprompt 'set prompt="$host.`whoami`:`echo $cwd` - !\n% " '
alias setprompt  'set prompt="`echo $host`:`echo $cwd` - !\n% "'

#
# directory manipulation...
set DSSIZE = 10
if ( ! $?DS ) set DS = (~)

if (-x /usr/bin/jikes) then
# For Jikes Java Compiler (no longer installed)
setenv JIKESPATH /usr/share/java/repository:.:/home/blairc/Lib/jlapack-0.6/f2jutil.jar:/home/blairc/Lib/jlapack-0.6/blas.jar:/home/blairc/Lib/jlapack-0.6/lapack.jar:/home/blairc/Lib/jlapack-0.6/xerbla.jar:/home/blairc/Lib/jlapack-0.6
endif

if ($OS == "linux") then
  # LAPACK in Java home
  set JLAPACK_HOME=/home/blairc/Lib/jlapack-0.6
  set JPACK=/home/blairc/Lib/jlapack-0.6/f2jutil.jar:/home/blairc/Lib/jlapack-0.6/blas.jar:/home/blairc/Lib/jlapack-0.6/lapack.jar:/home/blairc/Lib/jlapack-0.6/xerbla.jar

  # Java's Classpath
  setenv CLASSPATH $HOME/Lib/optimization:.:$HOME/Outlier:$JPACK
endif

# Load my file of aliases...
source $HOME/.alias