Your .cshrc file is executed whenever you open a terminal window in an UNIX environment, Mac OS X or Solaris. You can add commands in the .cshrc file (using a text editor like vi or emacs) that will make your work in UNIX more productive. Here are some useful entries you can add (lines starting with # are interpreted as comments and can be included without harm).
# Limit to zero the size of a core dump file (diagnostic file created by the system # when a process crashes) limit coredumpsize 0 # Unlimit the size of a file you generate. unlimit filesize # Unlimit the time your processes take to run. unlimit cputime # Set the TCSH command line editor to Emacs (by default it is # set to the vi editor) bindkey -e # The cdpath environment variable can be set to facilitate # changing directories quickly. The cd command will search the # list of paths defined in the cdpath variable for the directory # provided as its argument. # For example, supposing you are in your home directory on the # server (~) and wish to change directory to a local folder, # say /Users/Shared/myfolder/statm11. If you had the cdpath variable # set to include /Users/Shared/myfolder, you could change directory # into statm11 by simply typing cd statm11. # The paths included below exist on Mac OS X systems. /Users/Shared # is the workstation's local space where you can keep files. ~/Sites # is your web folder on the server. set cdpath=(~ /Users/Shared ~/Sites) # Set library paths for R, allows you to install your own packages in /Users/Shared/username setenv R_LIBS /Users/Shared/username:/Library/Frameworks/R.framework/ Resources/library
Date Created: 2001-09-04 18:11:29 Date Last Modified: 2006-02-21 14:17:41