# C shell commands to define IDL environment variables and aliases.
#
# This script can be used by IDL users who use csh as their interactive shell
# to define the environment variables and aliases required by IDL
# related commands (idl, idlde, idlhelp, idldemo) if the symbolic links to
# the default directory (/usr/local/itt/idl) are not being used.
#
# csh users should source idl_setup from their .cshrc files,
# using the following command:
#
#    source /usr/local/itt/idl70/bin/idl_setup
#

# Change and uncomment below if a network license is to be used
#setenv LM_LICENSE_FILE 1700@ServerName

setenv ITT_DIR /usr/local/itt
setenv IDL_DIR /usr/local/itt/idl
alias ittlicense $IDL_DIR/bin/ittlicense
alias idl $IDL_DIR/bin/idl
alias idlde $IDL_DIR/bin/idlde
alias idlhelp $IDL_DIR/bin/idlhelp
alias idlman $IDL_DIR/bin/idlman
alias idlrpc $IDL_DIR/bin/idlrpc
alias idldemo $IDL_DIR/bin/idldemo

if (-d $HOME/IDL) then
  setenv IDL_PATH "<IDL_DEFAULT>":\+$HOME/IDL
endif

if (-e $HOME/.idl_startup) then
  setenv IDL_STARTUP $HOME/.idl_startup
endif
