[ncl-install] ok, once more

Johnny Chang Johnny.Chang at nasa.gov
Thu Feb 24 11:38:16 MST 2011


Joseph,

Running "tcsh" sources your .tcshrc file, if you have one, instead of
your .cshrc file.  Put in the following command inside your .cshrc
file:

echo "inside .cshrc"

and run tcsh to see if you get that echo.

Johnny

On 2/24/11 7:22 AM, Joseph Cain wrote:
> I understand there is this mismatch with an old env file that must have been installed the last time, maybe a year ago that I tried but failed to install NCAR graphics on my IMac.
> However, as you can see the .cshrc file clearly points to the new directory. Does giving it the command "tcsh" not make it invoke the .cshrc file?  Why does env keep using this old directory?
>
>
> Joe-Mac-1008:~ josephcain$ more .cshrc
> setenv NCARG_ROOT /Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421
> setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:$NCARG_ROOT/bin
> setenv DISPLAY: 0.0
> Joe-Mac-1008:~ josephcain$ tcsh
> [Joe-Mac-1008:~] josephcain%   env | grep NCARG
> NCARG_ROOT=/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0
> [Joe-Mac-1008:~] josephcain% echo path
> path
> [Joe-Mac-1008:~] josephcain% echo $path
> /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/texbin /usr/X11/bin /Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin
> [Joe-Mac-1008:~] josephcain% env
> TERM_PROGRAM=Apple_Terminal
> TERM=xterm-color
> SHELL=/bin/bash
> TMPDIR=/var/folders/P7/P7AQdOPAF3Wcc2joZGbI9E+++TI/-Tmp-/
> Apple_PubSub_Socket_Render=/tmp/launch-87cA9k/Render
> TERM_PROGRAM_VERSION=273
> USER=josephcain
> COMMAND_MODE=unix2003
> SSH_AUTH_SOCK=/tmp/launch-KsKiiG/Listeners
> __CF_USER_TEXT_ENCODING=0x1F5:0:0
> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin
> PWD=/Users/josephcain
> LANG=en_US.UTF-8
> SHLVL=2
> HOME=/Users/josephcain
> LOGNAME=josephcain
> DISPLAY=/tmp/launch-aFkbQF/org.x:0
> _=/bin/tcsh
> HOSTTYPE=intel-mac
> VENDOR=apple
> OSTYPE=darwin
> MACHTYPE=x86_64
> GROUP=staff
> HOST=Joe-Mac-1008.local
> REMOTEHOST=
> NCARG_ROOT=/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0
> [Joe-Mac-1008:~] josephcain% cd /applications
> [Joe-Mac-1008:/applications] josephcain% ls -l | grep ncl
> drwx------@  5 josephcain  staff   170 Feb 21 18:06 ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421
> [Joe-Mac-1008:/applications] josephcain%
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>


-- 
Johnny Chang
650-604-4356


More information about the ncl-install mailing list