# SGI and Ultrix combined initial .cshrc file bjd 9/3/92 # # This is the default standard .cshrc provided to csh users. # They are expected to edit it to meet their own needs. # # determine machine architecture: # set machine="`/usr/local/bin/machine`" if ( `uname` =~ IRIX ) then # SGI specific section : stty erase  alias c clear alias f frm # setup the PATH set path=($HOME/bin $HOME/bin/$machine /local/bin /usr/bsd \ /bin /usr/bin /usr/sbin \ /usr/demos/bin /usr/local/bin /usr/local/X11 \ /usr/bin/X11 /usr/local/unsupported /etc /usr/etc . ) # setenv SGI_SET_PATH "true" # set hname=`hostname | sed 's/\..*//'` if ($?prompt) then if ( -o /bin/su ) then set prompt = "`hostname | sed 's/\..*//'`[\!]# " else set prompt = "$hname-${cwd:t}:%h >" # set prompt = "`hostname`[\!] " set ignoreeof noclobber savehist=1000 endif stty intr "^C" kill "" echoe alias ls 'ls -C' endif else # Ultrix/SUN OS specific section : # # if (-f .testrc && $?prompt) then source .testrc rm .testrc endif set path=( $HOME/bin/$machine /usr/ucb /bin \ /usr/bin /usr/local/X11 /usr/local/bin \ /usr/local/doc /usr/local/unsupported /usr/etc . ) # /usr/local/doc /usr/local/unsupported /etc /usr/etc . ) if ($?prompt) then if (! $?TERM ) then setenv TERM vt100 echo $TERM endif if ($?DISPLAY) then setenv WMHOST `echo $DISPLAY | sed -e 's/\:[0-9].*//'` endif alias c clear alias f from # set prompt = "`hostname`[\!] " set hname=`hostname | sed 's/\..*//'` set prompt = "$hname-${cwd:t}: cap >" set ignoreeof savehist=1000 # set ignoreeof noclobber savehist=1000 # # Set Terminal Type # # if ($machine == "hp" ) then stty erase '^?' kill '' intr '^C' susp '^Z' endif tset -I -Q umask 077 set mail = (300 /usr/spool/mail/$USER) setenv mybin $HOME/bin/$machine setenv EDITOR /usr/ucb/vi limit coredumpsize 0 alias pd pushd alias pop popd alias help apropos alias c clear # setenv PRINTER lp # change for new default printer # endif # end of Ultrix section. endif # Add your aliases common on all the systems here. alias cd 'cd \!*;set prompt="$hname-${cwd:t}:% cap >"' alias pushd 'pushd \!*;set prompt="$hname-${cwd:t}:! >"' alias popd 'popd \!*;set prompt="$hname-${cwd:t}:! >"' alias pu 'pushd \!*;set prompt="$hname-${cwd:t}:! >"' alias po 'popd \!*;set prompt="$hname-${cwd:t}:! >"' alias h history alias ls "ls -Fa" alias l "ls -lFa" alias c 'clear' alias lo 'logout' alias fi 'finger' alias d 'dirs' alias h 'history' alias me 'setenv DISPLAY pcecs212-1.cs.umbc.edu:0.0' alias magic 'magic -d XWIND7' alias irsim 'irsim scmos1_6um.prm' alias reduce 'psnup -l -nup 4 -c -b4' alias pplot pplot -p $HOME/cad/magic/magic6.45/lib/pplot/pat.scmos.color -C -o #alias athome 'setenv DISPLAY cc643549-a.rdc1.md.home.com:0' alias athome 'setenv DISPLAY 24.3.20.178:0' set history = 100 set notify set MESSAGES on unset autologout umask 077 limit coredumpsize 0 setenv EDITOR pico setenv VISUAL vi setenv NAME 'PATEL CHINTAN' setenv ENSCRIPT -fCourier10 setenv LD_LIBRARY_PATH /usr/local/X11/lib:/usr/local/openwin/lib setenv OPENWINHOME /usr/openwin setenv XNLSPATH /usr/lib/X11/nls setenv XKEYSYMDB /usr/openwin/lib/XKeysymDB # CADENCE STUFF setenv LD_LIBRARY_PATH /usr/local/X11/lib:/usr/local/openwin/lib:/cds/ldv/tools/lib:/usr/dt/ setenv CDS_HOME /cds/ldv setenv CDS_DIR /cds/ldv setenv CDS_LIC_FILE /cds/ldv/share/license/license.80b051e6 setenv CIC_HOME $CDS_HOME/tools setenv MANPATH set base_dir = "$CDS_DIR" setenv CDS $base_dir setenv CDS_INST_DIR $base_dir setenv CDSDIR $CDS/tools/dfII setenv TERM $term setenv TELENV $CDS/tools/pcb/text/env setenv CDS_VHDL $CDS/tools/leapfrog unsetenv cell # the lib path setup looks at $CDS_SITE/cdssetup to find the "setup.loc" file setenv CDS_SITE $CDS_INST_DIR/local # use analog mode for netlisting everything setenv CDS_Netlisting_Mode Analog # Path additions alias prepend 'if (-d \!:2) if ("$\!:1" \!~ *"\!:2"*) setenv \!:1 "\!:2":${\!:1}' alias extend 'if (-d \!:2) if ("$\!:1" \!~ *"\!:2"*) setenv \!:1 ${\!:1}:\!:2' prepend PATH $CDS/tools/bin prepend PATH $CDS/tools/dfII/bin prepend PATH $CDS/tools/pcb/bin prepend PATH $CDS/tools/awb/bin prepend PATH $CDS_VHDL/bin prepend PATH $CDS/tools/gsEnsemble/bin extend MANPATH $CDS/share/man unset base_dir #DO NOT USE magic6.3 for extresis extraction !!!!! setenv CAD_DIR $HOME/cad setenv CAD_HOME $HOME/cad/magic/magic6.45/ setenv OCTTOOLS $CAD_DIR/Octtools5.0/sun4 alias log 'cd $CAD_DIR/log/log/lib;diglog' setenv PATH {$PATH}:$HOME/bin/sun4m_55:$HOME/bin/sgi:$HOME/fm2html/src setenv PATH {$PATH}:/usr/bin/X11:/usr/local/X11/bin setenv PATH {$PATH}:$CAD_DIR/magic/magic6.45/bin:/usr/openwin/bin setenv PATH {$PATH}:$CAD_DIR/spice3/bin/:$CAD_DIR/log/bin:/etc setenv PATH {$PATH}:/afs/umbc.edu/sgi_62/depot/gl/oldlocal/engr/magic/vhdl/bin setenv PATH {$PATH}:$CIC_HOME/bin:$CIC_HOME/dfII/bin setenv MANPATH .:$HOME/man:$CAD_DIR/spice3/man:/usr/man:/usr/local/man setenv MANPATH {$MANPATH}:$CAD_DIR/magic/man:/usr/local/X11/man setenv MANPATH {$MANPATH}:/usr/local/gnu/man:/cds/man setenv MANPATH {$MANPATH}:$HOME/fm2html/man setenv PITT_VHDL /usr/local setenv PRINTER cs2post@bellatrix.cs.umbc.edu setenv TERM vt100 cd . # # This must be your very last lines. Please do not add anything after # these lines. if ( -f /usr/local/etc/system.cshrc ) then source /usr/local/etc/system.cshrc endif