Re: library and online help [message #38876] |
Wed, 07 April 2004 12:45  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Steve wrote:
> Thanks both! Now it works ... until my next doubt :)
> One thing -maybe- worth to said. In my .bashrc file the following is
> needed
>
> export IDL_PATH=${IDL_PATH}:+\${HOME}/download/library
> export IDL_PATH=${IDL_PATH}:+/usr/local/rsi/idl_6.0
>
> The first statement is to add my library to the standard idl path
> /usr/local/rsi/idl
> The second line -I guess- is to account for functions in the new
> -improved?- idl 6.0 directory ...
>
> Or at least, in this way it works.
Hello,
One thing I have found with the IDL 6.0 implementation is that the <IDL_DEFAULT> directory
doesn't get assigned automagically like it used to. When I upgraded to v6.0 *nothing* in
the RSI library worked. I discovered that for some reason, the actual path to the RSI IDLL
code library wasn't there. So my .bashrc changed from:
export RSI_DIR=/usr/local/rsi
export IDL_DIR=$RSI_DIR/idl
. $IDL_DIR/bin/idl_setup.bash
export IDL_PATH=${IDL_PATH}:+\${HOME}/idl
to
export RSI_DIR=/usr/local/rsi
export IDL_DIR=$RSI_DIR/idl
export IDL_PATH="<IDL_DEFAULT>"
. $IDL_DIR/bin/idl_setup.bash
export IDL_PATH=${IDL_PATH}:+\${HOME}/idl
where the addition of
export IDL_PATH="<IDL_DEFAULT>"
is now necessary. I think that may be what you need to do. Michael Wallace's reply
described the same thing (but better).
What I don't understand is what changed between IDL 5.6 and 6.0 that requires the
<IDL_DEFAULT> definition. Didn't need it in my .bashrc before.
paulv
|
|
|
|
|
|
|
|
|
Re: library and online help [message #38886 is a reply to message #38885] |
Wed, 07 April 2004 07:55   |
savoie
Messages: 68 Registered: September 1996
|
Member |
|
|
Steve.Morris@libero.it (Steve) writes:
> Hi all,
>
> how can I add and IDL library (taken somewhere from the web) to the
> standard path of my IDL distribution, so that each time I call a
> procedure/function that is in the library, IDL automatically find it?
> Do I have to put such library in some directory? where? (I use linux).
put something like this in your startup file, (or type on the command line).
!path = !path + "+/full/path/to/fanning/programs:"
The '+' means include all subdirectories under this one. And now that I've
started answering this, I'm not sure I know the whole answer. In my startup
I also have the following line, which may do the expansion of all the
subdirectories.
!path = expand_path(!path)
All I know forsure is you can't go wrong if you put fanning's libs in your
path. :)
> Just a drop. I have got the new IDL version, but the "old" online help
> doesn't work anymore :-( Is it right???
> Only that nasty and NON user-friendly acrobat manual ...
Yes, just that nasty manual unless you use idlwave, and emacs mode for IDL.
see idlwave.org.
Matt
--
Matthew Savoie - Scientific Programmer
National Snow and Ice Data Center
(303) 735-0785 http://nsidc.org
|
|
|
|
Re: library and online help [message #39134 is a reply to message #38884] |
Tue, 20 April 2004 19:16  |
kklare
Messages: 7 Registered: April 2004
|
Junior Member |
|
|
You may also need to set !idl_help with a Unix shell initialization
(.profile or .tcshrc or .cshrc) command like:
IDL_HELP_PATH=$IDL_DIR/help":"$YOUR_DIR/help
|
|
|