Version 1 of cshrc processing

Updated 2003-01-10 12:49:32

Someone want to tell us what you are trying to achieve here?

It appears to be a generic csh startup script for a SOlaris machine. I don't understand why it is here though. Note that it is of little use to most readers until they realize that /solar is not a commonly found directory, nor is /usr/afsws and a number of the others mentioned.


#

 if ( `uname -r` ==  5.5 || `uname -r` == 5.4  ) then
        set path = ( $HOME/bin /bin /usr/bin /usr/sbin /usr/ucb )
        set path = ( $path /solar/bin /usr/local/bin /usr/teTeX/bin )
        set path = ( $path /usr/bin/X11 /usr/openwin/bin )
        set path = ( $path /usr/remote/bin /usr/afsws/bin /user/afsws/etc )
        set path = ( $path /usr/ccs/bin /opt/SUNWspro/bin )
        set path = ( $path . )  

        setenv LD_LIBRARY_PATH /solar/lib:/solar/X11R5/lib:/usr/lib:/usr/local/l
        setenv SC_LICENSE_FILE /opt/SUNWspro/SunTech_License/license.dat
        setenv MANPATH /usr/man:/solar/local/man:/solar/X11R5/share/man:/opt/SUN
        setenv CLASSPATH /solar/netscape/moz3_0.zip
        setenv LANG ko

        source $HOME/.alias.solaris
        source $HOME/.alias.han

 else
        set path=($HOME/bin /bin /usr/bin /usr/sbin /usr/ucb /usr/etc)
        set path=($path /usr/local/bin)
        set path=($path /usr/bin/X11)
        set path=($path /usr/remote/bin /usr/games)
        set path=($path .) 

        setenv MANPATH /usr/local/man:/usr/man:/usr/openwin/man
        setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib:/usr/lib/X11
        setenv CLASSPATH /usr/local/netscape/moz3_0.zip
        setenv LANG C

        source $HOME/.alias.sun
 endif

 setenv HWPDIR /solar/hwpx
 setenv HWPSYS /solar/hwpx/sys
 setenv XAPPLRESDIR .
 setenv NNTPSERVER  141.223.7.47
 setenv PRINTER ps4

 set cdpath = ( ~ )
 set filec 
 set history = 50
 set noclobber
 set cdpath = (~ ~/com_physics)

 stty sane
 stty erase '^H'
 stty kill '^?'
 stty intr '^C'
 stty cs8 -parenb -istrip -ixon

 source ~/.alias

 set prompt = "`hostname`/$user `dirs` {\!}"
 alias   cd 'cd \!*;set prompt="`hostname`/$user `dirs` {\!}"'