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

Home » Public Forums » archive » Re: What do *you* have in your IDL_STARTUP file?
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
Re: What do *you* have in your IDL_STARTUP file? [message #45046] Tue, 02 August 2005 12:53
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
Is this *the* David Fanning replying to a post of mine??!! On the same
day as Apple releases a multi "button" mouse!!??!!??

Waiiittt a minute....

Gianguido :-)
Re: What do *you* have in your IDL_STARTUP file? [message #45047 is a reply to message #45046] Tue, 02 August 2005 11:51 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
cgguido writes:

> Wow! I am going to have to study these closely. Especially because I
> run IDL on RedHat linux and MAc OSX but not Windows.

I wouldn't study them *too* closely. All the ones I looked
at did some kind of DEVICE, DECOMPOSED=0, which seems to
me to be a waste of a perfectly good 24-bit graphics card. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: What do *you* have in your IDL_STARTUP file? [message #45049 is a reply to message #45047] Tue, 02 August 2005 11:28 Go to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
Wow! I am going to have to study these closely. Especially because I
run IDL on RedHat linux and MAc OSX but not Windows.

Thanks a lot everyone.

G
Re: What do *you* have in your IDL_STARTUP file? [message #45056 is a reply to message #45049] Tue, 02 August 2005 10:18 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
cgguido wrote:

My is similiar to this one:

http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl .all

this is the setup for
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html

cheers Reimar



> Thanks Jim. Unfortunately I bought the student's edition only 2 months
> ago. It is based on idl 6.0. Furthermore, I use RedHat Linux and Mac
> OSX only.
>
> I tried someting like:
>
> spawn, 'echo $PWD', p
> !prompt=p+string(10B)+'IDL>'
>
> Unfortunately when I use arrow up to go through my command history, I
> get repeated lines with my pwd over and over, once for every arrow-up.
>
> G
>
> On 8/1/05, Jim Pendleton wrote:
>> In IDL 6.2, you might consider putting most (if not all) of your
>> settings like these into your user preferences instead of a
>> startup script, for example (on Windows) these are
>> IDL_GR_WIN_RETAIN, IDL_RBUF_SIZE and IDL_PATH.
>>
>> Jim P.
>>
Re: What do *you* have in your IDL_STARTUP file? [message #45057 is a reply to message #45056] Tue, 02 August 2005 10:16 Go to previous message
mankoff is currently offline  mankoff
Messages: 131
Registered: March 2004
Senior Member
I test to see if I am logged in with X windows enabled or not. If not,
I don't set up the device because that produces errors:

;;; DISPLAY
env = GETENV( "IDL_STARTUP" )
IF env eq 'IDL_no_X' THEN x=0 ELSE x=1
IF x THEN device, true = 24
IF x THEN device, decomposed = 0
IF x THEN device, retain = 2
IF x THEN snoect, /gray
delvar, env, x


;;; SYSTEM VARIABLES
!warn.obs_sysvars = 1 ; warn if using obselete system vars
!warn.obs_routines = 1 ; warn if obselete routine (COMPILE_OPT
obselete)
;;;!x.ticklen = ( !y.ticklen = ( !p.ticklen = -0.02 ) )
;;;!warn.parens = 1 ; warn if using parentheses (use []!)
;;;!EXCEPT = 2 ; turn on every once in a while (Ha!)
!edit_input = 1000
.com /home/mankoff/SNOE/env/snoesysvar
DEFSYSV, '!SNOE', snoesysvar(), 1 ; 1 = read_only


;;; PRE-COMPILE hack procedures
.com /Users/mankoff/local/IDL_lib/snoe_sw/map_continents.pro
.com /Users/mankoff/local/IDL_lib/snoe_sw/write_gif

; these let me write GIF images even without the license (write to PNG
and then spawn the 'nix convert utility), and my modified
map_continents that allows magnetic and paleo continent outlines via
keywords.
Re: What do *you* have in your IDL_STARTUP file? [message #45067 is a reply to message #45057] Mon, 01 August 2005 21:07 Go to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
Thanks Jim. Unfortunately I bought the student's edition only 2 months
ago. It is based on idl 6.0. Furthermore, I use RedHat Linux and Mac
OSX only.

I tried someting like:

spawn, 'echo $PWD', p
!prompt=p+string(10B)+'IDL>'

Unfortunately when I use arrow up to go through my command history, I
get repeated lines with my pwd over and over, once for every arrow-up.

G

On 8/1/05, Jim Pendleton wrote:
> In IDL 6.2, you might consider putting most (if not all) of your
> settings like these into your user preferences instead of a
> startup script, for example (on Windows) these are
> IDL_GR_WIN_RETAIN, IDL_RBUF_SIZE and IDL_PATH.
>
> Jim P.
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: medical image registration and ITK
Next Topic: Re: CALL_EXTERNAL and C++ code

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

Current Time: Wed Oct 08 15:21:14 PDT 2025

Total time taken to generate the page: 0.00633 seconds