Re: FINALLY WORKS ....thanks to all for the educatioin

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 25 2011 - 17:14:16 MST

Hi Joseph,
I'm glad to hear you were able to work through your problems. I did want to comment about the 'mystery' of the Apple file systems. It is true that unlike other Unix systems, the Apple OS X file system is (by default anyway) case insensitive. However, as you have noticed, files and directories do have a preferred spelling that recognizes the case. It is the spelling that they were first created with. So although you can refer to the 'Applications' directory as 'applications' its "real" name is 'Applications'. It takes a little while to get used to especially if you are importing directory trees from other Unix file systems. A gotcha that we experienced when first working with OS X was that we had a few places where there were files in the same directory that differed only in their case. That can totally screw things up.
 -dave

On Feb 25, 2011, at 4:26 PM, Joseph Cain wrote:

> Joe-Mac-1008:~] josephcain% echo $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
> [Joe-Mac-1008:~] josephcain% ng4ex gsun01n
>
> NCAR Graphics NCL Example <gsun01n>
>
>
> This example was set up to display the output to an
> X11 window.
>
> Copying gsun01n.ncl
>
> Running NCL...
> Copyright (C) 1995-2010 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.2.1
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
>
>
>
>
> On Feb 25, 2011, at 2:04 PM, Joseph Cain wrote:
>
>> 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.
>>
>> so to recap
>>
>> [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:ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin
>> alias find 'find . -name '
>> alias ls 'ls -CF'
>>
>> but still
>>
>> [Joe-Mac-1008:~] josephcain% ng4ex gsun01n
>> ng4ex: Command not found.
>>
>> and the environment is still set to the old file which is not there!
>>
>> [Joe-Mac-1008:~] josephcain% env | grep NCARG
>> NCARG_ROOT=/Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421
>> [Joe-Mac-1008:~] josephcain% grep ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0 ~/.*
>> /Users/josephcain/.bash_history:/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin/ng4ex ; exit;
>> [Joe-Mac-1008:/applications] josephcain% echo $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
>> [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/
>>
>> Anyone have any ideas?
>>
>>
>>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Feb 25 17:14:21 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 02 2011 - 09:19:21 MST