#This is a start up script for the tcsh (t-shell) program. #It sets your path, prompt and other useful aliases #Man pages: The online manuals are here setenv MANPATH /usr/man:/usr/local/man #News: This is useful for news readers setenv NNTPSERVER "usenet.ins.cwru.edu" setenv NAME $USER setenv ORGANIZATION "Computer Engineering and Science, CWRU, Cleveland OH." setenv DOMAINNAME "ces.cwru.edu" #Open Windows: This is where all the open windows stuff is kept setenv OPENWINHOME /usr/openwin setenv MANPATH $OPENWINHOME/man:$MANPATH #Netscape: Netscape needs to know where this directory is setenv XNLSPATH /usr/lib/X11/nls #This tells the shell to keep track of previous commands set history=300 savehist=100 set LD_LIBRARY_PATH=(/usr/lib: \ /usr/openwin/lib/X11:/usr/ucblib: \ /usr/openwin/lib:/appl/SUNWmotif/lib \ /usr/local/X11/lib: \ ) #This sets the paths which the shell will search for commands set path=( . $HOME/Util\ /usr/etc /usr/ucb /bin /usr/bin /usr/local/bin \ /usr/local/gnu /usr/xpg4/bin \ $OPENWINHOME/bin\ /p /p/www /p/jdk-1.1.6 /p/jdk-1.1.6/bin /p/ssh \ $LD_LIBRARY_PATH \ /usr/bin/X11 \ ) # Aliases: The following aliases do useful stuff alias setprompt 'set prompt="`hostname`:$PWD> "' # To set your prompt setprompt alias cd 'chdir \!* && setprompt' #alias cd 'cd \!* ; echo ]2\;$cwd' alias rm rm -i # You don't want to accidently erase files alias mv 'mv -i' # Don't accidently overwrite files limit coredumpsize 0k # prevent the creation of core files # Optional aliases: You decide whether you want to keep any of these aliases alias cls clear # To clear your screen, ^L will also work alias dir 'pwd;ls -l' # If you like the DOS command alias library 'telnet catalog' # Contact the CWRU library catalog alias rn 'rn -m=s -M -q' # Set some default read news options alias vt100 setenv TERM vt100 alias new 'frm | tail' # Use new to check if you have new mail alias phonenumber 'whois -h whois' # Use phonenumber to search the # campus directory alias psv 'ps -aux|grep -v root|sort' # To check the process running on your # machine alias m more alias h head alias k9 'kill -9' # To kill processes alias l 'ls -l' alias qt 'quota -v ' # Check your disk quota