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

Home » Public Forums » archive » Re: Mac Cursor
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: Mac Cursor [message #51208 is a reply to message #51199] Mon, 06 November 2006 21:16 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth Bowman writes:

> David, do you use the IDLDE on Macs, or do you run from the
> command line?

Uh, have you *seen* IDLDE on a Mac!? No, almost everyone
prefers to run from a command line. :-)

> I run from the command line and use a startup.pro file. In order
> to set the !PATH variable right, you have to get the paths right.
> A very handy trick for doing this in OS X is the following:
>
> 1. Have a Terminal window open. (That's Terminal.app, not an xterm.)
> 2. In the Finder, navigate to the file or directory that you want to use.
> 3. Drag the file or directory into the Terminal window. Presto, the full
> path appears.
> 4. Copy and paste that path into the startup.pro.
>
> You can enter a Unix command like "ls" before dragging and dropping:
>
> bowman> ls /Volumes/csrpd1/1B01/V6/2004/200409/20040905/
> 1B01.040905.38795.6.HDF 1B01.040905.38801.6.HDF 1B01.040905.38807.6.HDF
> 1B01.040905.38796.6.HDF 1B01.040905.38802.6.HDF 1B01.040905.38808.6.HDF
> 1B01.040905.38797.6.HDF 1B01.040905.38803.6.HDF 1B01.040905.38809.6.HDF
> 1B01.040905.38798.6.HDF 1B01.040905.38804.6.HDF 1B01.040906.38810.6.HDF
> 1B01.040905.38799.6.HDF 1B01.040905.38805.6.HDF
> 1B01.040905.38800.6.HDF 1B01.040905.38806.6.HDF
>
>
> In IDL I can also do things like this interactively:
>
> IDL> in = '/Volumes/csrpd1/PROGSCI/v4/502rf05/502rf05.nc'
> IDL> id = ncdf_open(in)
>
> That is, type "in = '" at the IDL prompt. Drag and drop the file of interest.
> Add the final quote. Hit return.
>
> I guess that will go on the tips and tricks list. :-)

Very useful information. Thank you.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: First Posting
Next Topic: Keystrokes While IN a Graphics Window?

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

Current Time: Thu Oct 09 23:03:18 PDT 2025

Total time taken to generate the page: 0.87866 seconds