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

Home » Public Forums » archive » Re: IDL environment
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL environment [message #42127 is a reply to message #42126] Mon, 27 December 2004 21:23 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
judy writes:

> 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

I don't think there is any way to change the prompt
like this in a reliable way. You could write your
own "mycd.pro", which called the IDL CD program
and changed the prompt appropriately. And as long
as you only run programs you write, and as long
as you use MYCD instead of CD you will be fine.

But it is hard to live in such isolation. If it
were me, I'd leave the prompt alone and work up
a nice PWD program so you can always find out
what directory you are in when you need to know. :-)

Cheers,

David

P.S. Oh, what the hell, Merry Christmas!

PRO PWD
CD, Current=thisDir
PRINT, thisDir
END


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: GUI builder limitations?
Next Topic: IDL environment

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

Current Time: Sun Nov 30 06:35:14 PST 2025

Total time taken to generate the page: 0.79943 seconds