comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL environment
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL environment [message #42128] Mon, 27 December 2004 20:39 Go to next message
judy is currently offline  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 Go to previous message
Michael Wallace is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL environment
Next Topic: Example for envi_resample_spectra

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 25 01:22:51 PDT 2025

Total time taken to generate the page: 4.15109 seconds