# sample Ptolemy .cshrc
# @(#).cshrc	1.7	12/2/92

# Set auto. file completion
set filec
set notify noclobber
set history=100

umask 2

# The arch script figures out what type of machine we are on.
if (! $?ARCH) setenv ARCH ` ~ptolemy/bin/arch`

# Path may need adjusting, especially for accessing X programs.
set path = ( \
	~ptolemy/bin.$ARCH ~ptolemy/bin ~ptolemy/octtools/bin.$ARCH \
	/usr/tools/gnu/bin /usr/gnu/bin \
	/usr/X11/bin /usr/tools/bin \
	/usr/openwin/bin \
	/usr/local/bin \
	/usr/ucb /usr/bin /bin . )
set	prompt="`hostname` \!: "

if (-r ~/ucb-.cshrc) then
	source ~/ucb-.cshrc
endif

set history = 22

# some useful aliases
alias ls ls -F
alias oops source .login
alias term 'xterm -fn 9x15 -bg lightblue -fg black -bd violetred &'
alias h history
alias j jobs -l
alias f 'fg %\!*'

# The following aliases are useful for development of Ptolemy code:
alias srcdir 'cd `pwd | sed "s?/obj.$ARCH/?/src/?"`'
alias objdir 'cd `pwd | sed "s?/src/?/obj.$ARCH/?"`'

# this should point to whatever your printer is named
setenv PRINTER lw

# This is required because of the upgrade to X11R5 on our system 
# causes the LD_LIBRARY_PATH to be mis-set as far as THOR is concerned.
# the following corrects for this.
if (! $?LD_LIBRARY_PATH) setenv LD_LIBRARY_PATH ""
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/X11/lib
