# @(#)standard.cshrc 2.10 98/06/22 # .cshrc # # change History: # Author Date SP/CR# Description # ----- -------- ------- ---------------------------------------------- # ronc 03-18-96 96-xxx3 correct X11path=($dompath to =($X11path # ronc 03-11-96 96-xxx2 correct X11path=($dompath to =($X11path # ronc 03-11-96 96-xxx1 correct x11path and X11path to X11path # ronc 12-11-95 95-xx25 set path for gnu and X11 if they exist # ronc 11-07-95 95-xx22 put set g outside if $?prompt # (For SGI login) # ronc 09-21-95 95-xx17 put /usr/bin before $BERK in search PATH # ronc 08-23-95 95-xxx6 define WSYS if not curently defined for use by .alias # ronc 04-26-95 95-xxx2 Change path to get /usr/bin/uname # remove redundant "set prompt" umask 022 limit coredumpsize 0 # Setup environment once for each login if ( $?OSNAM == 0 ) then set uname=(`uname -a`) setenv OSNAM $uname[1] setenv HOST $uname[2] setenv MREV `expr $uname[3] : '\(.\)'` setenv DOM `domainname` if ( $OSNAM == SunOS ) then if ( $MREV == 5 ) then setenv OSYS SYSV setenv ARCH `/usr/ucb/arch` else setenv OSYS BSD setenv ARCH `/usr/bin/arch` endif else if ( $OSNAM == IRIX ) then setenv ARCH $uname[6] setenv OSYS SYSV else echo " Unknown OS : $OSNAM" setenv OSYS Unknown_OS endif endif if ( $OSNAM == SunOS ) set BERK=/usr/ucb if ( $OSYS == BSD ) set sysbin="/usr/etc /sbin /usr/sccs /usr/openwin/bin" if ( $OSNAM == IRIX ) then set sysbin="/usr/sbin /sbin" set BERK="/usr/bsd" else if ( $OSYS == SYSV ) then set sysbin="/usr/sbin /sbin /usr/ccs/bin /usr/openwin/bin" endif set dompath="" set X11path="" # set switches for paths switch ($DOM) case "wdl4" setenv MANPATH "$home/man:/usr/man:/usr/local/man:/usr/local/gnu/man:/usr/openwin/man" setenv FMHOME /usr/local/frame if ( -e /usr/local/AnswerBook/bin ) then set dompath=($dompath /usr/local/AnswerBook/bin) endif if ( -e /usr/local/gnu/bin ) then set dompath=($dompath /usr/local/gnu/bin) endif if ( -e /usr/local/X11/bin ) then set X11path=($X11path /usr/local/X11/bin) endif if ( $OSNAM == SunOS ) then set X11path=($X11path /usr/openwin/bin) endif breaksw default: if ( -e /usr/local/X11/bin ) then set X11path=($X11path /usr/local/X11/bin) endif if ( $OSNAM == SunOS ) then set X11path=($X11path /usr/openwin/bin) endif if ( -e /usr/local/gnu/bin ) then set dompath=($dompath /usr/local/gnu/bin) endif breaksw endsw # path needs to be here if you expect rshells to work set path=( \ $X11path \ ~/bin \ ~/bin$ARCH \ /usr/local/bin \ /bin \ /usr/bin \ $BERK \ $dompath \ /etc \ /usr/local/etc \ $sysbin \ /usr/games \ . \ ) # C-Shell Variable Settings set g=g if ( $OSYS == SYSV ) set g='' if ( $?prompt ) then set history = 50 set filec notify # set ignoreeof # set noclobber alias h history alias dir /bin/ls -Fla${g}s alias la ls -Fa alias ls ls -F alias ll /bin/ls -Fla$g alias lo exit alias alais alias alias DIR dir alias PV pv alias cd\ cd .. alias whatsrunning pst alais boris rlogin boris.tds-az.lmco.com alias bye exit alias goodbye exit alais getlm source /u/caemgr/configure.csh alias lmhelp lmstat h alias password yppasswd alias allegroplus source /u/caemgr/configure.csh alais setdisplay setenv DISPLAY mydisplay:0.0 alais allegroconfig source /u/caemgr/configure.csh alias ecad source /u/caemgr/configure.csh alias license /u/ssalkow/bin/cds_ldv_allegro_stat alais allegro_14.2 allegro alias allegrodesigner source /u/caemgr/configure.csh;allegro_14.2;allegro_designer # setup prompt in one place ( setprompt used in .alias ) setenv PC ">" if ( $?USER == 1 ) then if ( $USER == root ) then setenv PC "#" set history = 500 endif endif alias setprompt 'set prompt = "${HOST}[\\!]$cwd:t$PC "' setprompt if ( ! $?WSYS ) then setenv WSYS "" endif if ( -e $home/.alias ) then source $home/.alias endif endif #