| IDL environment [message #42128] |
Mon, 27 December 2004 20:39  |
judy
Messages: 4 Registered: December 2004
|
Junior Member |
|
|
I am a newbe to IDL and looking for information for setting up the
environment. I did create the ~/idl_startup.pro file to set the
graphics to true_color=24, also added a directory to the path. I would
also like to change the idl prompt from something like,
/home/judy/idl>
and have the prompt update to always display the current working
directory. I have experimented with the !prompt variable, could
probably create a alias cd.pro program to update the variable every
time the directory changes, just thought I would ask this group first.
I am currently using,
IDL = Student Edition 6.0.3 (linux x86 m32)
OS = SuSE 9.0
Shell= tcsh
Thanks,
Judy
|
|
|
|
| Re: IDL environment [message #42195 is a reply to message #42128] |
Tue, 04 January 2005 11:44  |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
> I think $pwd will tell you the directory from which you started your IDL
> session. If you did a 'cd /some/where' later in IDL, $pwd won't tell you
> the current IDL working directory.
>
Nope. Take a look at this.
$ pwd
/home/me
$ idl
IDL> $pwd
/home/me
IDL> cd, 'graphics'
IDL> $pwd
/home/me/graphics
When you exit IDL, you will be returned to the directory where you
originally started IDL, not the directory you've moved to. Notice I'm
using the IDL command "CD", not the command line "cd".
-Mike
|
|
|
|