source ~/.cshrc
setenv KDEWM kwin
setenv PGPLOT_DIR /scisoft/pgplot-5.2.2/

set prompt=iroc'<\!>% '  # Include command number for easy history use
set PROMPT_COMMAND = ~/bin/doit
set history = 256
set notify
set autolist
set complete
set nobeep
alias sched '/usr/local/bin/sched'
alias preview '/Applications/Preview.app/Contents/MacOS/Preview'
setenv SCHED ~/sched
alias rm 'rm -i'
alias du 'du -k'
alias cp 'cp -i'
alias mv 'mv -i'
alias ls 'ls -FG'
alias setdisp 'setenv DISPLAY :0.0'
alias duf 'du -s * | sort -rn | more'
alias dvips '/Users/gtaylor/code/mydvips'
alias purge         'rm .*~ *~ *% .*% #*#'
# alias ssh 'ssh -X'
# alias slogin 'slogin -X'
setenv TERM xterm-color
setenv LSCOLORS cxfxcxdxbxegedabagacad
setenv X11_FOLDER /tmp/.X11-unix
setenv currentUser `whoami`
set bb = `ls -l $X11_FOLDER | grep $currentUser | gawk '{ f = $9; s = substr(f,2,1) ; t = ":" s ".0" ; print t }' `
setenv DISPLAY $bb
setenv AIPS_MSG_EMULATOR none
setenv AIPS_TEK_EMULATOR xgterm
setenv IN /Users/DATA/FITS/
setenv ARC /Users/gtaylor/archive
alias setup_aips 'source ~/aips/LOGIN.CSH; $CDTST'
setenv GBT /Users/gtaylor/aips/MYCODE
setenv DYLD_LIBRARY_PATH /Applications/OpenOffice.org1.1.2/program:/Applications/OpenOffice.org1.1.2/program/filter
alias office 'sh /Applications/OpenOffice.org1.1.2/program/soffice'
#$CDTST


switch ($TERM)
    case "xterm*":
        set prompt="%{\033]0;%m:%~\007%}iroc<\!>%# "
        breaksw
    default:
        set prompt="iroc<\!>%# "
        breaksw
endsw
