[lug] Idea for a new tutorial....maybe???
pfohl at sandia.gov
Sat Apr 8 17:20:53 MDT 2000
First what is IN my ENV:
EXINIT=set redraw wm=8
OK a few quick comments on setting the ENV:
You will note there is a LOT going on here. You set some stuff from
your web browser (WWW_HOME for instance). I actually set this in my
.cshrc. A lot is established when you set up your system (host name,
OSTYPE, LANG, etc). The path is one of the main things you alter. I
have my PATH defined in my .login with a simple
set path=( PATH STUFF)
I also set my editor in my .login (not sure if this is necessary, I've
just always done it.)
setenv EDITOR emacs
The display can also be altered if you need to send an x-window
somewhere else which allows you to (xhost +). A few are defined in
/etc/passwd including the group and pwd.
I also have some special programs NGRF which have their own .ngrfrc
# Define path and variables for the use of NGRF(LIPHA) package.
# Source the file in .cshrc or .login.
# An environment variable for the home directory of NGRF
set NGRF_DIR = /usr/local/ngrf
setenv SYM_DIR $NGRF_DIR/lib
setenv EFF_DIR /usr/local/ngrf/effic
# Add $NGRF_DIR/bin to the searching path
set path = ($path $NGRF_DIR/bin)
Does that help a little? not exactly a tutorial but instead just a
quick walk through some of what I have.
E-MAIL: pfohl at sandia.gov
PHONE : (505) 844-7033 work
(505) 299-9516 home
(505) 844-6729 fax
"My grandfather once told me that there are two kinds of people:
Those who do the work and those who take the credit. He told me to
try to be in the first group; there was much less competition."
- Indira Ghandi, the late Prime Minister of India
More information about the LUG