# ~/.cshrc - default .cshrc file for all architectures.
# this file is consulted whenever you run a new command or open a new
#   window, and also before your .login file when you log in.
################################################################
## Please do not change the following few lines unless you're ##
## sure you know what you're doing.                           ##
################################################################
setenv ARCH `/usr/princeton/bin/arch`
set where='/usr/princeton/etc/userconfig'	# where global files are
if ( -e $where/cshrc-$ARCH ) source $where/cshrc-$ARCH
################################################################
if ($?prompt) then			# if this is an interactive shell
        set notify			# notify when background jobs complete
        set history=128			# remember last 20 commands
	set filec			# press ESC to complete filenames
        alias pd pushd			# pd same as pushd
        alias pop popd			# pop same as popd
	alias h history			# ICGL standard
#	alias t more			# ICGL standard
# You can add your own aliases here, before the "endif", following the
# format above.
###################################I add########################
set time=100
set noclobber                                                                  

set matchbeep=nomatch
set autolistset filec
set prompt="`hostname`:`pwd`>"
set savehist=15
set history=`echotc lines`
set recexact
set rmstar
set autocorrect
set autoexpand
set correct=all
set visiblebell
set listjobs=long
set ignoreeof
umask 022
bindkey -e

alias . 'echo $cwd'
alias .. 'set dot=$cwd;cd ..'
alias ... 'cd ../..'
## STANDART I/P TAN I/P ALMA SHELL SCRIPTTE:
## ! -> en son satirda girdigin command line daki ilk kelime
## !* -> """"    "         "       "     "    "   2. kelime
## !** -> """    "         "       "     "    "   3. kelime
## !*** -> ""    "         "       "     "    "   4. kelime
##  boole gidiyo

alias pss 'ps -aux | grep \!* | more'

# UCALL
# alias ucall cat passwords | grep \!* | awk 'BEGIN {FS=","} {print $3}'

alias ucall 'source .ucall'
alias psm 'ps -aux | more'
alias cd 'cd \!*;set prompt="`hostname`:$cwd> "'
alias CD 'cd'
alias cp 'cp -i'
alias ren 'mv -i'
alias p 'pine'
alias q 'exit'                                                                 
alias hi hello
alias ff 'find . -name \!* -print'

alias pub  'cd public_html'
alias cd.. 'cd ..'
alias CD.. 'cd ..'
alias CD .. 'cd ..'
alias cls, 'clear'
alias V 'quota -v'
alias kota ' du -s -k ~/.'
#alias ? 'laserq'
alias c 'clear'
alias nodumb 'setenv TERM vt100'
alias jingle 'cat xmas'
alias bbs 'telnet 139.179.11.11 3000'
alias wbbs 'finger @buces.bbs.tr |more'
alias rbbs 'repeat 150 telnet 139.179.11.11 3000'
alias fm 'finger -m'
alias F 'finger |more'
alias f 'finger'
alias w 'w |more'                                                              
alias mv 'mv -i'
alias rm 'rm -i'
alias dir 'ls -alF --color=always \!* | more'
alias ll 'ls -alF --color=tty'
alias DIR 'dir'
alias ^L 'clear'                                                               
alias usc telnet 128.125.19.184
alias usc2 telnet 128.125.20.102
alias tt 'telnet jaguar.wmin.ac.uk'
alias psss 'ps -lPf -u iscic'
alias printquota 'cat .uow/plot_quota'
alias printers 'lpstat -v'
alias da 'source ~iscic/.da'
alias ping2 '/etc/ping'
alias bb 'banner Simulation Running PLZ Dont Cloze'
alias dirsize 'du -s -k ./.' #gives size of current directory
alias m 'less'
alias 'man jgraph' 'm /home/canturk/Jgraph/jgraph.1'
alias pp 'lpr -Phpequadh100d \!*'
alias pq 'lpq -Phpequadh100d'

#NTFS FILESYSTEM MODULE:
#alias ntfs '/sbin/insmod /lib/modules/2.4.7-10/build/fs/ntfs/ntfs.o'

#RENOIR STUFF:
alias renoir 'fpgadv'

#AUTOLOGIC STUFF:
alias sycomp 'qvhcom -work msc -synth -nosynchk'

#VHDL:
alias lib 'source ~iscic/.libmap'

#QuickLOGOUT:
source ~canturk/.quicklogout
alias qq 'kill $SessionPID'

rm -f dead.letter

#mailcheck
alias mm source .mailcheck
#pine wall
alias pine echo 'no pine{!}'
alias ? source /home/canturk/.pi


#for plx
alias isa 'ssh isa.ee.princeton.edu'

#NEW:
alias ss 'cd SimpleScalar/simplesim-3.0/'
alias printername 'echo vn100'
alias alpha 'ssh -l canturk inverness'
alias smtp ' telnet smtp.princeton.edu 25'
alias untar tar -xvf
alias untgz tar -zxvf
alias dotgzALL tar '-zcvf \!* ./*'
alias yuma 'ssh -l canturk yuma.princeton.edu'
alias psme 'pss canturk'
alias psall 'psm'
alias pslong 'ps -auxf'
alias amip 'ssh -l canturk amoeba.ee.princeton.edu'
alias devry 'ssh -l canturk devry.ee.princeton.edu'
#alias laptop 'vncserver -geometry 1400x1050'
alias vnclaptop 'vncserver -geometry 1300x975'
alias noprompt 'set prompt = "> " '
alias nocorrect 'set correct=off'

#figlet
alias figlet 'figlet -d /home/canturk/figlet/fonts'
alias figletall 'source .FIGlet_allfonts'
#alias figletall 'figlet -f banner \!*'

#tcsh
nodumb
banner HOSGELDIN CANTURK OZLETTIN KENDINI NEREDEYDIN
cat inek.asc
echo MERABA SAHIP CANTURK! BEN `hostname` EMIRLERINI BEKLIYORUM!
cd                                                                             


#
# If you want "rm" not to ask you for confirmation (dangerous),
# uncomment the following line:
#       unalias rm                      # then rm wouldn't confirm
endif

# You can add to the path here by adding any directories you want to be
# searched for executable files to the following line, separated by colons.
# (Make sure you include the existing $PATH!)
#

setenv PATH ${PATH}:/usr/princeton/bin/X11:/home/canturk:./:/usr/local/Acrobat5/bin:/home/canturk/figlet/

#for arm cross compiler
setenv PATH ${PATH}:/home/canturk/ELE375/LAB2/data/lart/cross-3.0/bin
#for plot utils
setenv PATH ${PATH}:/home/canturk/C/plotutils/bin:/home/canturk/Jgraph
#for my scripts
setenv PATH ${PATH}:/home/canturk/SCRIPTS
#for lame
setenv PATH ${PATH}:/home/canturk/lame/MYinstall/bin
#for PIN:
setenv PATH ${PATH}:/home/canturk/downloads/PIN/pin-2.0-1795-gcc.3.2-ia32/Bin
#for nedit
setenv PATH ${PATH}:/home/canturk/NEDIT/nedit-5.5-Linux-x86

#for gcc 3.3.4
alias newgcc '/usr/GCC3.3.3/bin/gcc'
alias newg++ '/usr/GCC3.3.3/bin/g++'



#for plotutils DLL to be added at runtime:
setenv LD_LIBRARY_PATH /home/canturk/C/plotutils:/home/canturk/C/plotutils/lib
setenv LD_LIBRARY_PATH /usr/GCC3.3.3/lib:$LD_LIBRARY_PATH

# You can add to the list of directories where `man' will search for
# manual pages here by uncommenting the following line and listing the
# directories you want to be searched, separated by colons.
# Make sure you include the existing $MANPATH.
#
#setenv MANPATH ${MANPATH}:~/man:~canturk/figlet:/home/canturk/Jgraph
;
cd
lock2.out
