<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-size: 15px; ">Your recipe almost worked, at least insofar as making the env with the proper directory. However, the path seems not to want to pay attention to the fact that the ncl is in the /applications directory. Thanks especially for reminding me of the rehash command. It has been a pain to reboot the whole system with all the other programs i have going on it at once.</div><div style="font-size: 15px; ">As you can see below I also tried to put the bin directory in the path directly instead of just with<span class="Apple-style-span" style="font-size: 16px; "> </span><span class="Apple-style-span" style="font-size: 13px; ">${NCARG_ROOT}/bin with the same failed result.</span></div><div style="font-size: 15px; "><span class="Apple-style-span" style="font-size: 13px; ">One tiny more mystery to me is why the system keeps making "applications" "Applications" in the env. It also seems to allow that directory to have either spelling. I thought that unix was pretty case sensitive but must not be for the Imac.</span></div><div><br></div><div> [Joe-Mac-1008:~] josephcain% emacs .cshrc</div><div>[Joe-Mac-1008:~] josephcain% more .cshrc</div><div>setenv NCARG_ROOT /applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421</div><div>setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:${NCARG_ROOT}/bin</div><div>alias find 'find . -name '</div><div>alias ls 'ls -CF'</div><div>[Joe-Mac-1008:~] josephcain% rehash</div><div>[Joe-Mac-1008:~] josephcain% ng4ex gsun01n</div><div>ng4ex: Command not found.</div><div>[Joe-Mac-1008:~] josephcain% env | grep NCARG</div><div>NCARG_ROOT=/Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421</div><div>[Joe-Mac-1008:~] josephcain% echo $path</div><div>/usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/texbin /usr/X11/bin ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin</div><div><br></div><div><div>[Joe-Mac-1008:~] josephcain% emacs .cshrc</div><div>[Joe-Mac-1008:~] josephcain% more .cshrc</div><div>setenv NCARG_ROOT /applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421</div><div>setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin</div><div>alias find 'find . -name '</div><div>alias ls 'ls -CF'</div><div>[Joe-Mac-1008:~] josephcain% rehash</div><div>[Joe-Mac-1008:~] josephcain% env | grep NCARG</div><div>NCARG_ROOT=/Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421</div><div>[Joe-Mac-1008:~] josephcain% echo $path</div><div>/usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/texbin /usr/X11/bin ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin</div><div>[Joe-Mac-1008:~] josephcain% ng4ex gsun01n</div><div>ng4ex: Command not found.</div></div><div><br></div><div><br></div><div><br></div><br><div><div>On Feb 25, 2011, at 3:49 PM, Ted Mansell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Your path does not include the ncl bin directory.<br><br>Instead of <br><br>setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin<br><br>try <br><br>setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:${NCARG_ROOT}/bin<br><br>Or just on the command line, type<br><br>set path=($path ${NCARG_ROOT}/bin)<br><br>then type "rehash" (may or may not be needed), and try the ng4ex test again.<br><br>(Actually it is better to test whether PATH is already set or not unless you have a need to clobber the default value.)<br><br>-- Ted<br><br>On Feb 25, 2011, at 1:04 PM, Joseph Cain wrote:<br><br><blockquote type="cite">1. I have set the default sign on shell for my IMac to tcsh and the .cshrc file seems to be invoked because it uses the alias for ls to be "ls -CF" which it did not do before when the sign on default was bash. I tried creating a .tcshrc file but that does not work. Also, I have tried from the bash shell just setting to csh and also no go.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">so to recap<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[Joe-Mac-1008:~] josephcain% more .cshrc<br></blockquote><blockquote type="cite">setenv NCARG_ROOT /Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421<br></blockquote><blockquote type="cite">setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin<br></blockquote><blockquote type="cite">alias find 'find . -name '<br></blockquote><blockquote type="cite">alias ls 'ls -CF'<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">but still<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[Joe-Mac-1008:~] josephcain% ng4ex gsun01n<br></blockquote><blockquote type="cite">ng4ex: Command not found.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and the environment is still set to the old file which is not there!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[Joe-Mac-1008:~] josephcain% env | grep NCARG<br></blockquote><blockquote type="cite">NCARG_ROOT=/Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421<br></blockquote><blockquote type="cite">[Joe-Mac-1008:~] josephcain% grep ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0 ~/.*<br></blockquote><blockquote type="cite">/Users/josephcain/.bash_history:/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin/ng4ex ; exit;<br></blockquote><blockquote type="cite">[Joe-Mac-1008:/applications] josephcain% echo $path<br></blockquote><blockquote type="cite">/usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/texbin /usr/X11/bin ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin<br></blockquote><blockquote type="cite">[Joe-Mac-1008:/] josephcain% cd /applications<br></blockquote><blockquote type="cite">[Joe-Mac-1008:/applications] josephcain% ls -l | grep ncl<br></blockquote><blockquote type="cite">drwx------@ 5 josephcain staff 170 Feb 21 18:06 ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Anyone have any ideas?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">ncl-install mailing list<br></blockquote><blockquote type="cite">List instructions, subscriber options, unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote><br></div></blockquote></div><br></body></html>