<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Mary and Daniel . . .<br />
<br />
To continue our discussion, I have two questions.<br />
<br />
First question: Earlier I pointed out a peculiarity in my prompts. The prompt when I am in my home directory reads<br />
<br />
<span style="font-family: courier new;">Book@Book-Enigmatics ~</span> rather than <span style="font-family: courier new;">Book</span><br />
<br />
When I do a <span style="font-family: courier new;">cd ..</span> the prompt reads <span style="font-family: courier new;">Book@Book-Enigmatics /home</span> <br />
<br />
When I do another <span style="font-family: courier new;">cd ..</span> the prompt reads <span style="font-family: courier new;">Book@Book-Enigmatics /</span><br />
<br />
This is the same as the prompt in my home directory, except that a slash has replaced the tilde.<br />
<br />
If I do an <span style="font-family: courier new;">ls -a</span> command here, I see all the NCARG directories (<span style="font-family: courier new;">tmp, home, etc, var, bin,</span> and so on). The files that were zipped in that installation file that I downloaded have been installed in <span style="font-family: courier new;">Book@Book-Enigmatics /</span><br />
rather than my home directory <span style="font-family: courier new;">Book@Book-Enigmatics ~</span> ! I think this explains why I was unable to gunzip the <span style="font-family: courier new;">.gz</span> file or untar the <span style="font-family: courier new;">.tar</span> file using the full pathname prescribed in the instructions, namely <br />
<span style="font-family: courier new;"><br />
gunzip /cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz</span><br />
<br />
Although I tried to follow the instructions scrupulously, somehow I have managed to create an unorthodox directory structure. <br />
<br />
This probably also explains why I have been unable to carry out the next step in the instructions, "Set up your environment to run NCL." In my home directory (<span style="font-family: courier new;">Book@Book-Enigmatics ~</span>) tried to use <span style="font-family: courier new;">nedit</span> to insert <span style="font-family: courier new;">export NCARG_ROOT=/usr/local <span style="font-family: arial;">and</span> export PATH=/usr/local/bin:$PATH</span> in my .bashrc file, but the system couldn't even find <span style="font-family: courier new;">nedit</span> (it can find it when I am in the second, "lower" directory <span style="font-family: courier new;">Book@Book-Enigmatics /</span> ).<br />
<br />
I'm afraid I'm only going to have more trouble unless I fix this. I suspect I will have to reinstall CYGWIN and NCL. Is this correct?<br />
<br />
<br />
Second question: My reason for installing NCL in the first place (which necessitated first installing CYGWIN) was because I wanted to run an old program, written in Fortran 90, that uses Autograph to produce plots. I didn't want to rewrite my program and I thought that it would be easy to download the NCAR graphics package. (Boy, was I wrong!)<br />
<br />
Bujt now that I have downloaded that package, I can't find any of the Autograph routines (AGSETF, EZXY, etc.) in the libraries. Are they included? If not, how can I get the Autograph package, either in source form or binaries?<br />
<br />
<br />
David<br />
<br />
<br />
<br />
<div>David L. Book <br />
President, Enigmatics, Inc. <br />
</div>
<br />
<br />
<span style="font-size: 10pt; font-family: tahoma,arial,sans-serif;"><hr width="100%" size="2" align="center" />
<strong>From</strong>: "Mary Haley" <haley@ucar.edu><br />
<strong>Sent</strong>: Tuesday, January 29, 2013 1:35 PM<br />
<strong>To</strong>: davidbook@enigmatics.com<br />
<strong>Subject</strong>: Re: [ncl-install] Problem unzipping/untarring NCL setup file</span><br />
<br />
David,<br />
<br />
You need to be careful about when you use "~/" and just "/".<br />
<br />
If you use ~/ in front of a path, then it will automatically prepend your home directory to it, which is /home/Book<br />
<br />
So, you *don't* want to do this:<br />
<br />
> tar xvf ~/cygwin/home/Book@Enigmatics-Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar<br />
<br />
<br />
This should work:<br />
<br />
cd /usr/local<br />
tar -xvf /home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar<br />
<br />
or this:<br />
<br />
cd /usr/local<br />
tar -xvf ~/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar<br />
<br />
Again, "~/" is just a substitution for your home directory, which appears to be "/home/Book/".<br />
<br />
--Mary<br />
<br />
On Jan 29, 2013, at 1:23 PM, David Book wrote:<br />
<br />
> Daniel . . .<br />
> <br />
> Thanks again. Here's what I did and what I got:<br />
> <br />
> <br />
> Book@Book-Enigmatics ~<br />
> $ cd /usr/local <br />
> <br />
> Book@Book-Enigmatics /usr/local<br />
> $ tar xvf ~/cygwin/home/Book@Enigmatics-Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar<br />
> tar: /home/Book/cygwin/home/Book@Enigmatics-Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar: Cannot open: No such file or directory<br />
> tar: Error is not recoverable: exiting now<br />
> <br />
> Book@Book-Enigmatics /usr/local<br />
> $ tar xvf ~/cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar tar: /home/Book/cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar: Cannot open: No such file or directory<br />
> tar: Error is not recoverable: exiting now<br />
> <br />
> <br />
> David<br />
> <br />
> <br />
> David L. Book <br />
> President, Enigmatics, Inc. <br />
> <br />
> <br />
> From: "David Book" <davidbook@enigmatics.com><br />
> Sent: Tuesday, January 29, 2013 12:02 PM<br />
> To: "Daniel Packman" <pack@ucar.edu><br />
> Subject: Re: [ncl-install] Problem unzipping/untarring NCL setup file<br />
> <br />
> Daniel . . .<br />
> <br />
> Here's what I did and what I got:<br />
> <br />
> $cd <br />
> <br />
> Book@Book-Enigmatics ~<br />
> $ pwd<br />
> /home/Book<br />
> <br />
> Book@Book-Enigmatics ~<br />
> <br />
> <br />
> So the directory is named "Book," but the prompt says "Book@Book-Enigmatics ~" What does this mean? <br />
> <br />
> <br />
> David<br />
> <br />
> David L. Book <br />
> President, Enigmatics, Inc. <br />
> <br />
> <br />
> From: "Daniel Packman" <pack@ucar.edu><br />
> Sent: Tuesday, January 29, 2013 10:30 AM<br />
> To: davidbook@enigmatics.com<br />
> Subject: Re: [ncl-install] Problem unzipping/untarring NCL setup file<br />
> <br />
> <br />
> It sounds like you need to sort out just what your home directory looks like<br />
> within cygwin. If you just do a "cd" with no arguments, you should be taken<br />
> to your home directory. If you then do a "pwd", the path to your home directory<br />
> should be echoed.<br />
> <br />
> _______________________________________________<br />
> ncl-install mailing list<br />
> List instructions, subscriber options, unsubscribe:<br />
> http://mailman.ucar.edu/mailman/listinfo/ncl-install<br />
<br /></span>