############################################################################### # # .tcshrc file # # This file contains commands to occur every time a new tcsh is generated. # It is read prior to the .login file at each login. # ############################################################################### # set up search path # javare -> java runtime environment /usr/local/javare \ # javasdk -> java standard development kit /usr/local/javasdk \ set path = (\ /bin \ /sbin \ /usr/bin \ /usr/sbin \ /usr/local/bin \ /usr/local/sbin \ /usr/X11R6/bin \ /usr/X11R6/lib \ /home/wade/java/SUNWappserver/bin \ /home/wade/java/SUNWappserver/jdk/bin \ /usr/kerberos/bin \ ~/bin \ ~/bin/qt/bin \ . \ ) #/opt/staroffice8-beta/program \ # if this is a "top-level" login shell if (! $?CSHLEVEL) then setenv CSHLEVEL 0 # non-login shell--don't set all the environment variables again else set tmp = $CSHLEVEL @ tmp++ setenv CSHLEVEL $tmp endif set home = ~wade # Set the values of environment variables. # SHELL: which shell I normally use (bash, csh, or tcsh) # PAGER: puts stuff on the screen a page at a time. # EDITOR: what editor I normally use. # PATH: directories to look in for commands I use. [set above] # PRINTER: what printer I normally use. # MANPATH: where to go hunting for man pages setenv SHELL /bin/tcsh setenv PAGER less setenv EDITOR /usr/local/bin/vim setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig/ #setenv QTDIR /usr/local/qt #setenv QTDIR '/usr/lib64/qt-3.3' setenv QTDIR '/opt/Qt-4.1.4' setenv QTLIB ${QTDIR}/lib setenv QTINC ${QTDIR}/include #setenv LD_LIBRARY_PATH $QTDIR/lib:/home/wade/downloads/java/eclipse/eclipse setenv LD_LIBRARY_PATH $QTDIR/lib set hostname = `uname -n` setenv HAVE_64BIT_TARGET setenv HAVE_QT_3_3_INSTALLED # set java environment #setenv CLASSPATH .:..:~/:/home/wade/downloads/java/eclipse/eclipse/configuration/org.eclipse.osgi/bundles/72/1/.cp/ setenv CLASSPATH .:..:~/ #setenv JAVA_BINDIR /opt/jdk/jdk1.5.0_05/bin setenv JAVA_BINDIR /home/wade/java/SUNWappserver/jdk setenv JJAVA_HOME /home/wade/java/SUNWappserver/jdk setenv JJAVA_ROOT /home/wade/java/SUNWappserver/jdk setenv JJDK_HOME /home/wade/java/SUNWappserver/jdk setenv JAVA_HOME /usr/bin/java setenv JJRE_HOME /home/wade/java/SUNWappserver/jdk #setenv JPATH $JAVA_BINDIR:$path setenv JPATH $JAVA_BINDIR setenv CVSROOT /home/wade/cvsrep #setenv CVSROOT :ext:spires@cetus4.cs.utk.edu:/home/spires/cvsrep #setenv CVSROOT :sserver:wspires@freepository.com:12176/fp1/76pmpBA9W3zUcws_tools #setenv CVSROOT :sserver:wspires@freepository.com:12177/fp1/76pmpBA9W3zUcws_img setenv CVS_RSH '/usr/bin/ssh' setenv MORE '-c -s -d' setenv LESS '-s -M' # set colors tcsh uses for `ls` -- regular==white: directory==light blue: # link==yellow: c, c++, and java source files and c and c++ header files==red #setenv LS_COLORS "no=1;37:fi=1;37:di=1;36:ln=1;33:*.cpp=1;31:*.cc=1;31:*.c=1;31:*.h=1;31:*.hpp=1;31:*.java=1;31" setenv LS_COLORS "no=1;37:fi=1;37:di=1;36:ln=1;33" # set these for all shells set noclobber # protects files in SOME cases from accidental death umask 027 # file creation mask limit coredumpsize 0 # turn off core dump files limit memoryuse 512M # use no more than .5GB of RAM per process # aliases for all shells source ~/.aliases.all # settings for interactive shells if ($?prompt) then set ignoreeof # Don't log me out if I hit too many control-Ds. set history = 400 # Remember the last 100 commands, please. set savehist = 100 # Save the last 40 commands every time I log out. set notify # Declare job completions when they occur set filec # Enable file completion set color # Turn on color for ls-F set autolist # Display remaining choices when file completion fails # set prompt for tcsh to display path followed by > set prompt = %/'>' # Set backspace key to erase and CONTROL-w to word erase stty erase '' stty werase '' # use vi-style commands within tcsh bindkey -v # turn on NUMLOCK key (if KDE doesn't do it for us) #/usr/X11R6/bin/numlockx on # Aliases for interactive shells. source ~/.aliases.interactive # Read Viper image/video processing environment variables #source /home/wade/downloads/vision/viper-full-20050525/viper.config endif # Change the caps-lock key to the escape key (for faster vi skillz). # Repeated calls result in an error, so we just redirect output to /dev/null. # This is a hack, but changing xorg.conf or messing with xkb doesn't seem to do # anything, possibly because gconf has taken over keyboard preferences (see # $HOME/.gconf/desktop/gnome/peripherals/keyboard/xkb/%gconf.xml). #/usr/X11R6/bin/xmodmap /home/wade/.caps-to-esc >& /dev/null /usr/bin/xmodmap /home/wade/.caps-to-esc >& /dev/null