# # user .cshrc file for tcsh users # commands specific for the tcsh are at the end # set path=(/bin /etc /sbin /usr/sbin /usr/bin/mh /usr/bin/X11 \ /usr/local/bin /usr/local/etc /usr/local/java/bin \ /usr/local/lib/cap/bin $HOME/bin/OSF $HOME/bin/scripts .) umask 022 # Deny write and execute permission to the # File's group and the world set history=50 # Keep last 50 commands set savehist=20 # Save last 20 commands in ~/.history when you log out set filec # Enable filename completion set notify # have the C shell notify you immediately as jobs are # completed, rather than waiting until just before # issuing a prompt. set nonomatch # Returns the filename substitution pattern, rather # than an error, if the pattern is not matched. # Malformed patterns still result in errors. set ignoreeof # Ignore EOF from terminals. This protects against # killing a C shell by typing a CTRL-D. set noclobber # Restrict output redirection so that existing files # are not destroyed by accident. > redirections can # only be made to new files. >> redirections can only # be made to existing files. # # the default printer # setenv PRINTER ps2 # # some settings "real" UNIX people might want to remove # setenv LESS -QMden setenv MORE -c alias cp 'cp -i' alias mv 'mv -i' alias rm 'rm -i' alias ls 'ls -FC' alias ll 'ls -l' alias mail mailx alias msgs 'msgs -p' # # The following aliases reflect the fact that since # we are using yellow pages (NIS) the passwd, chsh # and chfn commands do not work # alias passwd 'yppasswd' alias chsh 'echo "not available"' alias chfn 'echo "not available"' # # Here are a number of variables that are needed to # use pvm and xpvm. # setenv PVM_ROOT /usr/local/pvm3 setenv PVM_ARCH `$PVM_ROOT/lib/pvmgetarch` setenv XPVM_ROOT /usr/local/pvm3/xpvm setenv TCL_LIBRARY $XPVM_ROOT/src/tcl setenv TK_LIBRARY $XPVM_ROOT/src/tcl set path=($path $PVM_ROOT/lib) set path=($path $PVM_ROOT/lib/$PVM_ARCH) # # some architecture dependent stuff # if (! ${?ARCH}) then set ARCH = "`uname -s`" if ( $ARCH == AIX ) then setenv SYSNAME aix_41 # for java endif if ( $ARCH == OSF1 ) then setenv SYSNAME alpha_osf32c endif endif # # tcsh specific # set autolist set matchbeep=none alias setprompt 'set prompt="%~:%m> " ' setprompt