|Search Duke CSL||
Because there may be configuration "dot files" for many of the individual applications that are in use, this document will focus on the login shell dotilfes; the options here usually affect the entire login session and so are of the most general interest.
Many people have introduced their own customizations into their login shell configuation files; in this case it will be difficult for the lab staff diagnose the problem, because they will have to make a detailed examination of the custom files. If you have no customization, or if you do not care to preserve any customization, you can obtain a current copy of lab dot files, which should work on all machines, at:/usr/project/support/dotfiles/
The lab dot files use the convention that custom modifications should be placed in the files prepended with ".my-"; this allows for lab-maintained modification to be copied over, while preserving the user-maintained modifications.
If you wish to "roll your own" configuration files, you will want to incorporate the following changes in order to make your files compatible with the CS Linux and Solaris systems.
When running on Linux, you will need probably want to make sure your PATH environment variable includes these directories:
/bin /usr/bin /sbin /usr/sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin
Make sure that your MANPATH environment variable is either unset or includes /usr/share/man.
unset MANPATH # bash, ksh, sh unsetenv MANPATH # csh, tcshor
MANPATH="/usr/share/man:$MANPATH" # bash, ksh, sh set MANPATH = "/usr/share/man:$MANPATH" # csh, tcsh
/usr/X11R6/man /usr/local/man /usr/local/share/man
If your PAGER env. variable is set to this:
PAGER=/usr/local/bin/less # bash, ksh, sh setenv PAGER /usr/local/bin/less # csh, tcshchange it to this (works on Solaris, too):
PAGER=/usr/bin/less # bash, ksh, sh setenv PAGER /usr/bin/less # csh, tcshor
PAGER=less # bash, ksh, sh setenv PAGER less # csh, tcsh
If you use the standard department .my-cshrc file, you might want to make some of these adjustments below. You will need to locate the context for each of these changes, or replace your .my-cshrc file with the one in /usr/project/support/dotfiles/ .
set words = ( `uname -a` ) ... else if ( "$SYSTEM" =~ "Linux" ) then setenv HOSTTYPE "$words" setenv PLATFORM "$words" ... setenv _LINUX 0 ... else if ( "$SYSTEM" == "Linux" ) then setenv _LINUX 1 ... else if ( $SYSTEM == "Linux" ) then set xpath = ( /usr/X11R6/bin ) ... else if ($_LINUX == 1 ) then set tpath = ( /bin /usr/bin /sbin /usr/sbin )
If you have any questions, please contact the Lab Staff.