comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Mac Woes Continue
items: Re: Mac Woes Continue

Mac Woes Continue
type: item
description: 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/
creator: David Fanning
date: 2005-11-02T08:03:32-00:00

Re: Mac Woes Continue
type: item
description: 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/
creator: Peter Clinch
date: 2005-11-09T08:38:43-00:00

Re: Mac Woes Continue
type: item
description: 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/
creator: David Fanning
date: 2005-11-09T16:12:52-00:00