MORE: unix setenv help [message #15968] |
Thu, 24 June 1999 00:00 |
Grady Daub
Messages: 22 Registered: June 1999
|
Junior Member |
|
|
Maybe, I should say more. This is what I did.
Added to .cshrc file:
setenv idl_startup .idl_startup_grady.pro
Invented .idl_startup_grady.pro with these lines:
!path=!path+":/<my idl libraries path>"
end
Then, I sourced .cshrc ("source .cshrc") and ran IDL.
To check, i type this while in IDL:
print,!path
The added path was not there. :-(
(remove MMER and ZOOKS to reply by e-mail.)
Grady Daub wrote:
> I'm trying to get the path that IDL searches to include the directory where I keep
> my personal IDL libraries. The IDL manuals say to write a program that sets the
> !path variable and then, use SETENV to set "idl_startup" to the name of the IDL
> program just written for changing !path. The problem is, the !path changer file
> isn't run
>
> Like this
>
> 1.pico .cshrc
> 2.add "setenv idl_startup <name of IDL program to execute at start-up>"
> 3.create IDL progam to execute.
>
> Am I missing something?
|
|
|