# NEVER EVER put . first in your path, it's a security risk.
#EE571 environment variable
setenv EE571 /class/EE571

set path = (  /bin /usr/local/bin /usr/bin/X11 \
	      /usr/local/X11/bin \
	      /epic/hp64/pm/bin \
              $EE571 \
	      . )
              
stty erase ^H

set cdpath=( ~ )

# don't overwrite existing files,
# don't logout when user types ctrl-d at prompt
# notify when background jobs change status (finish)
# enable file completion (hit escape to automatically fill in filenames)
#
set noclobber ignoreeof notify filec

# logout if user forgets and becomes idle for 20 minutes
#
set autologout=100

# remember last 40 commands
#
set history=40 

# save 40 commands between login sessions
#
set savehist=40

# fancy prompt
#
set prompt = "`hostname` % "

# create new files with write permission removed for group and world
#

# options for vi and ex editors:
# autoindent
# autowrite
# shell to run with ! commands
# terse runs more quietly
# nowarn does not ring terminal bell when approaching end of line
# showmatch (cursor moves briefly to matching brackets/parentheses)
# shiftwidth=8 (8 columns when using << or >> to shift lines over)
#
#####
# handy alias commands
#

# verify if destination of copy exists before removing it
#alias cp 'cp -i'

# show file types at end of file (* for executable, / for directory, etc.)
alias ls 'ls -F'
alias ll 'ls -la'
# verify when removing files
#alias rm 'rm -i'

# verify if move would remove an existing file
alias mv 'mv -i'

# add title for dtterm
alias dtterm 'dtterm -title \!* &'

# mail command is obsolete
alias mail 'echo "use inc, show to read mail; use comp, mhmail to send mail."'

# turn on wildcard characters (usually turned off in .cshrc)
unset noglob

# limit the size of coredumps to zero, remove this line if you NEED core file
# (if you don't know what they are, then you don't need them)
limit coredumpsize 0

##-----------
alias h history
alias c clear

#mentor setup stuff
setenv MGC_WD .

#To run esim and lsim and da and accusim
alias _esim "source /mentor/csu_setup/ams_setup.csu; source /mentor/csu_setup/idea_setup.csu; esim"
alias _da "source /mentor/csu_setup/ams_setup.csu; source /mentor/csu_setup/idea_setup.csu; da"
alias _accusim "source /mentor/csu_setup/ams_setup.csu; source /mentor/csu_setup/idea_setup.csu; accusim"

#To run IC station
alias _ic "source /mentor/csu_setup/IC_setup.csu; ic"




