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

Home » Public Forums » archive » Mac Woes Continue
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
Mac Woes Continue [message #46106] Wed, 02 November 2005 00:03 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I continue to see strange things on Mac computers in my IDL classes.
Here is an example.

I have a program XSTRETCH:

http://www.dfanning.com/programs/xstretch.pro

It is a fairly old widget program. I have never had any problems
with it. The last time I made a modification to it was three
years ago. But it simply won't run on a Macintosh computer. :-(

I traced the problem to this line in the code:

XManager, 'xstretch', histo_tlb, Group=group, $
No_Block=1-Keyword_Set(block), $
Event_Handler='XStretch_Histogram_Resize', $
Cleanup='XStretch_Cleanup'

Here, the variable "block" is undefined, so the NO_BLOCK
keyword should evaluate to 1. To make this program work
on a Macintosh, I have to set the NO_BLOCK keyword explicitly
to 1:

XManager, 'xstretch', histo_tlb, Group=group, $
No_Block=1, $
Event_Handler='XStretch_Histogram_Resize', $
Cleanup='XStretch_Cleanup'

Does anyone have *any* idea what this could be!?

Cheers,

David

P.S. My other Macintosh problem seems to be that it is
reporting incorrect window sizes in geometry situations.
This causes me to calculate negative window sizes in widget
resize events. I haven't yet chased this to the source.
(Hard to debug code in the middle of a class.) But if you
Macophiles want to lend me a hand, the problem code is
MPI_PLOT:

http://www.dfanning.com/programs/mpi_plot.zip

I will say this about the Macs. The keyboard is very,
very cool! I just wish the darn things would run perfectly
good IDL code! :-)

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Mac Woes Continue [message #46207 is a reply to message #46106] Wed, 09 November 2005 00:38 Go to previous messageGo to next message
Peter Clinch is currently offline  Peter Clinch
Messages: 98
Registered: April 1996
Member
David Fanning wrote:

> P.S. Why it is Mac users are more loathe to upgrade than
> Windows users? Or is this finding skeletons in the closet?

Perhaps a feeling[1] that it's less broken so needs less fixing?

Pete.

[1] not necessarily true, but felt nevertheless...
--
Peter Clinch Medical Physics IT Officer
Tel 44 1382 660111 ext. 33637 Univ. of Dundee, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
Re: Mac Woes Continue [message #46288 is a reply to message #46106] Wed, 09 November 2005 08:12 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
James Kuyper writes:


>> Macs. Sigh....
>>
>> You know what would really help? If everyone could just
>> decide on one operating system and use that. :-)
>
> When has "everyone" ever agreed on anything? I just wish more people
> would agree with the right choice (mine :-} ).

What I really meant was, I wish *Mac users* could
decide on one OS--Tiger or Panther or Mountain Lion--
whatever it is. Some of those older ones are just buggy
as all get out!

Cheers,

David

P.S. Yes, to all of you who deluged me with private e-mail,
I *know* UNIX is the only real operating system. I just wish
it had more than its current 5% penetration in the market. :-)
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Mac Woes Continue
Next Topic: Save 2D conversion matrix

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

Current Time: Fri Oct 10 08:13:52 PDT 2025

Total time taken to generate the page: 0.72240 seconds