# These are some examples of aliases you can put in your .cshrc file
#
# Make sure the next one is in your .cshrc file
alias setup 'source /sgi/local/setup/\!^".set"'
# For immediate return to previous directory
alias back 'set back=$old; set old=$cwd; cd $back; unset back'
# For any time return to the remembered directory
alias rem 'set old=$cwd'
alias ret 'cd old'
# Perhaps the most useful alias
alias locate 'find . -name \!* -print'
# after running tree once, can jump quickly to directories using ccd
alias tree 'find ~ -type d -print > ~/.dirlog; echo "tree updated." '
alias ccd 'cd `egrep \!* ~/.dirlog | head -1` '
alias big 'ls -oFs |sort -n|tail -20|egrep -v total'
alias cls 'clear'
alias h 'history'
alias host 'hostname'
alias whodo /etc/whodo
alias lo logout
alias sgi 'ftp 192.48.153.1'
alias allow 'chmod 755'
alias secret 'chmod 700'
alias jot 'jot -f Scn11 -geom 660x800+250+20 \!*'
alias ed 'jot -f Scn11 -geom 660x800+250+20 \!*'
alias vax 'rlogin hhvms8 -l fleming'
alias ser 'rlogin 130.132.17.19 -l fleming' #change to your login
alias pro 'rlogin csbpro -l fleming'
alias tyr 'rlogin csbtyr -l fleming'
alias leu 'rlogin csbleu -l fleming'
alias met 'rlogin csbmet -l fleming'
alias his 'rlogin csbhis -l fleming'
alias gly 'rlogin csbgly -l fleming'
alias ile 'rlogin csbile -l fleming'
alias q 'csh -f ~/.logout; exit '
alias qu 'quota -v'
alias grep 'egrep'
alias show 'printenv |egrep -i \!*'
alias peek 'tail -5 \!* && tail -f \!*'
alias up 'cd ..'
alias vt100 'setenv TERM vt100; stty erase ^H'
alias pdb 'chdir /sgi/clix/pdb'
alias ls 'ls -F -C'
alias ll 'ls -lF'
alias sys 'gr_osview -a'
alias susp 'kill -21'
alias unsusp 'kill -28'
alias dd '/bin/ls -lsoF | egrep "/" | egrep -v "\.\/"'
alias lf 'ls -soF | egrep -v {/}'
alias links 'find . -type l -exec ls -og {} \;'
# For making new X windows
alias sml 'xwsh -n small -fg navyblue -bg sgislateblue -fn "-adobe-courier-bold-o-normal--14-100-100-100-m-90-iso8859-1" & '
alias Small 'xwsh -n small -fg #eeeeee -bg #051525 -fn "-adobe-courier-medium-o-normal--14-100-100-100-m-90-iso8859-1" & '
alias xsh 'xwsh -fg #00003f -bg #7171c6 -bold #ffff00 -cursorbg #00ff00 -cursorfg #00003f'
alias Big 'xwsh -n BIG -fg #eeeeee -bg #051525 -fn "-adobe-courier-bold-o-normal--18-180-75-75-m-110-iso8859-1" & '
alias wsh 'xterm -title "`hostname -s`." -n "`hostname -s`" -fn 16x24 -bg white -fg black -sb -sl 200 -rw -fn "-adobe-courier-bold-o-normal--14-100-100-100-m-90-iso8859-1" -geometry +10+10+80x80 & '
# Other examples of setting variables
set name_of_host = `/usr/bsd/hostname -s`
set prompt="$name_of_host\!% "
set prompt = "${HOST:r:r:r}::$user% "
set history=100 savehist=100
limit coredumpsize 0