# .cshrc3
setenv savehist 2000
setenv WWW_HOME "http://stilen.com"
setenv http_proxy  "http://stilen.com:80/" 
setenv https_proxy "http://stilen.com:80/"
setenv ftp_proxy   "http://stilen.com:80/" 
setenv no_proxy 'localhost, sio, machdb, online'
source /my/dot/files
setenv PRINTER SHADOWFAX
set nobeep
#set prompt="%B%m|`whoami` %U%h%u %/ : %b"
set prompt="%{^[[37m%}%B%m:%//-%P: %b"

bindkey "^[[3~" delete-char

setenv PATH    ${PATH}:/sww/local/bin:/sww/tools/oracle/product/8.1.7/bin:/sww/gfx/bin:/sww/tools/bin:/dept/sio/tools/bin:/depts/sio/bin:/depts/ta/bin

#For using one keyboard with SGI and Linux box
#Change linuxbox and sgibox to the hostnames of your local machine
#alias xx 'killall x2x ; x2x -from primary:0 -to secondary:0 -east &'
if (${OS} == linux)   alias ls      'ls --color'
alias lt             'ls -lAt \!* | head'
alias ll             'ls -alF'
alias new            'lt'
alias soffice    '$HOME/OpenOffice.org1.0.2/soffice'
alias tmawatcher '/dept/srd/tma/client/Linux/bin/tmawatcher'
alias con            'xterm -sl 1000 +sp -bg black -fg white -bdc +rv -e /usr/bin/telnet \!* &'
alias rshsgi     'setenv TERM vt100; stty erase ^? kill ^u intr ^c; rsh \!*'
alias mmov       'set seq = \!:1; /sww/gfx/bin/multimov -i $seq -o $seq:t:r:r.mov -w 1024 -n \!:2'
alias maw        'machwatch -obapa -title \!* `getsgis -s \!* -multi` &'

setenv ORACLE_HOME /sww/tools/oracle/product/8.1.7
setenv TWO_TASK SKY

####################################
# Host specific stuff
####################################
if ( $HOST =~  smooth ) alias xx  'killall x2x; x2x -from smooth:0  -to flat:0 -west  -resurface  >&  /dev/null &'
if ( $HOST =~  smooth ) set connect = cmt 
if ( $HOST =~  smooth ) set autolist    # list all possible with tab
#if ( $HOST =~  smooth ) setenv LANG POSIX; set correct = cmd # catch command misspellings 
if ( $HOST =~  smooth ) set correct = cmd # catch command misspellings 
if ( $HOST =~  smooth ) set autolist    # list all possible with tab
if ( $HOST =~  nostromo ) setenv PATH /software_warehouse/hd4/gfx/bin:{$PATH}

if ( $HOST =~   fileserver* ) setenv TERM xterm
#/net/sww/hd4:SunOS_5.8
#/net/sww/hd12:SunOS_5.8 (new)

alias  nameterm      'echo -n "\033]2; \!:1 \007"'

if($?prompt)then
#    alias  cwdcmd  'nameterm `echo $cwd:h:t/$cwd:t`'
    alias  cwdcmd  'nameterm `echo "\\\[$HOST\\\]$cwd"`'
endif

#
# From Brian Stempel (bstempel) x3013   shady    (other espo)
# Configure nedit to have cool settings
#
setenv XAPPLRESDIR /home/jstile/app-defaults

