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

Home » Public Forums » archive » Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2
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: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64941] Tue, 03 February 2009 10:19 Go to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
> Interesting, I am using Aquamacs too but never type idl, except for
> testing which idl Vesion I have! You don't use idlwave?

I actually do but just for the editing help. I have a bunch of
different IDL setups that I use making it just easier to use the
command line. For example the THEMIS package has namespace issues
with SolarSoft so you can only have one in your path at a time and I
have some DLMs that are 64 bit and some that are 32 so its just
easier.

Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64944 is a reply to message #64941] Tue, 03 February 2009 06:14 Go to previous messageGo to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<bd040af9-456e-4d93-9674-6d256144617f@w1g2000prm.googlegroups.com>,
Keflavich <keflavich@gmail.com> wrote:

>> We seem to have many fewer problems when we run the
>> XQuartz distribution
>>
>> � http://xquartz.macosforge.org/trac/wiki
>>
>> It seems to have fewer bugs and generally works better.
>>
>> Ken Bowman
>
> That's what I'm using; I'm not sure what the difference is between
> XQuartz and Mac X11 if there is any; as far as I can tell XQuartz is
> just the implementation of X.org for Mac.
>
> Adam

Apple's X11 and XQuartz have the same code base, but the X11 that
Apple distributes with OS X lags well behind XQuartz in terms of
bug fixes, etc.

Ken
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64945 is a reply to message #64944] Mon, 02 February 2009 23:53 Go to previous messageGo to next message
karo03de is currently offline  karo03de
Messages: 21
Registered: March 2007
Junior Member
On 2 Feb., 18:52, Brian Larsen <balar...@gmail.com> wrote:
>> I think the problem is the screwy naming convention used
>> by ITTVIS. Version 7.0.6 seems to be the *Eclipse* version
>> of IDL. The IDL version remains 7.0. That means you are
>> at the same level as my 7.0.3 version. Got it?
>
> That is screwy and confusing.  I have the eclipse version installed
> but don't use it.  I just type idl and use the command line and
> aquamacs.  I can type idlde to get the eclipse version should I want
> it, but so far I haven't figured out why I would.

Interesting, I am using Aquamacs too but never type idl, except for
testing which idl Vesion I have! You don't use idlwave?

IDL executable Version: IDL Version 7.0.4, Mac OS X (darwin ppc m32)

Workbench Version is: Version: 7.0.3 Build id: 20080908

In fact it is more than confusing these different version systems. I
assume for calculation, means application of idl, the executable
version is important, for development with the workbench the other
one! I think up to now the system variables reflect the executable
verion only.

The X11 Implementation (I am using 2.3.2.1 too from XQuartz) has
problems still, at least at PowerPC. I am trying to stay up to date.
Each revision gave improvements!

Karsten
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64946 is a reply to message #64945] Mon, 02 February 2009 20:10 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Feb 2, 11:39 am, Brian Larsen <balar...@gmail.com> wrote:
> I realize this is not super helpful but everything seems to work for
> me correctly...
>
> [balarsen@wireless1x-8-61]~> idl
> IDL Version 7.0.4, Mac OS X (darwin x86_64 m64). (c) 2008, ITT Visual
> Information Solutions
> IDL> plot, findgen(11)
> IDL>  cursor,x,y,/down
> IDL> print, x, y
>        4.1469264       5.7047893
> IDL>  cursor,x,y,/down,/device
> IDL> print,x,y
>          565         297
>
> OSX 10.5.6 build 9G55
> Macbook Pro - done locally
>
> The newest X11/pkg seems to be 2.3.2.1 from here:http://xquartz.macosforge.org/trac/
> At one point X11.pkg was an issue as you state in the subject.
>
> I seem to have 2.1.5 however... but since it's working and you're
> having trouble I may not upgrade.

I'm running Xquartz 2.3.2.1 with no problems. In fact, the new
version solved a lot of problems for me, especially because windows
used to spontaneously die.suddenly die.

I also do not have the "click through to inactive windows" preferences
setting enabled, but "wm_click_through" *is* set, whatever that means.

I definitely needed to upgrade to the newest version of IDL in order
to make CURSOR work properly:
{ x86_64 darwin unix Mac OS X 7.0.4 Sep 3 2008 64 64}
I have no idea about Eclipse.

Craig
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64947 is a reply to message #64946] Mon, 02 February 2009 17:35 Go to previous messageGo to next message
Keflavich is currently offline  Keflavich
Messages: 19
Registered: May 2008
Junior Member
> We seem to have many fewer problems when we run the
> XQuartz distribution
>
>   http://xquartz.macosforge.org/trac/wiki
>
> It seems to have fewer bugs and generally works better.
>
> Ken Bowman

That's what I'm using; I'm not sure what the difference is between
XQuartz and Mac X11 if there is any; as far as I can tell XQuartz is
just the implementation of X.org for Mac.

Adam
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64949 is a reply to message #64947] Mon, 02 February 2009 13:29 Go to previous messageGo to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<1defb877-fcee-4495-aee6-0638dfd7c32c@z27g2000prd.googlegroups.com>,
Keflavich <keflavich@gmail.com> wrote:

> I found the answer thanks to a friend down the hall. While
> defaults write com.apple.x11 wm_click_through -bool true
> does not work, there is an option in X11:Preferences:Window called
> "Click-through Inactive Windows" that needs to be enabled.
>
> Thanks for the help,
> Adam

We seem to have many fewer problems when we run the
XQuartz distribution

http://xquartz.macosforge.org/trac/wiki

It seems to have fewer bugs and generally works better.

Ken Bowman
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64952 is a reply to message #64949] Mon, 02 February 2009 10:24 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

> Interesting that "Click-through Inactive Windows" fixed it... mine is
> not checked.

Ah, the joys of UNIX. I'm always fairly shocked when people
complain about Windows. I wish I could count up all the hours
of productivity that were lost with the "free" KDE 4 "upgrade".

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64953 is a reply to message #64952] Mon, 02 February 2009 10:17 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

> That is screwy and confusing. I have the eclipse version installed
> but don't use it. I just type idl and use the command line and
> aquamacs. I can type idlde to get the eclipse version should I want
> it, but so far I haven't figured out why I would.

I prefer to think of it as one of those endearing things
about IDL that makes it so much fun to work with. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64954 is a reply to message #64953] Mon, 02 February 2009 10:14 Go to previous messageGo to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
On Feb 2, 1:11 pm, Keflavich <keflav...@gmail.com> wrote:
> I found the answer thanks to a friend down the hall.  While
> defaults write com.apple.x11 wm_click_through -bool true
> does not work, there is an option in X11:Preferences:Window called
> "Click-through Inactive Windows" that needs to be enabled.
>
> Thanks for the help,
> Adam

Interesting that "Click-through Inactive Windows" fixed it... mine is
not checked.

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64955 is a reply to message #64954] Mon, 02 February 2009 10:11 Go to previous messageGo to next message
Keflavich is currently offline  Keflavich
Messages: 19
Registered: May 2008
Junior Member
I found the answer thanks to a friend down the hall. While
defaults write com.apple.x11 wm_click_through -bool true
does not work, there is an option in X11:Preferences:Window called
"Click-through Inactive Windows" that needs to be enabled.

Thanks for the help,
Adam
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64956 is a reply to message #64955] Mon, 02 February 2009 09:52 Go to previous messageGo to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
> I think the problem is the screwy naming convention used
> by ITTVIS. Version 7.0.6 seems to be the *Eclipse* version
> of IDL. The IDL version remains 7.0. That means you are
> at the same level as my 7.0.3 version. Got it?

That is screwy and confusing. I have the eclipse version installed
but don't use it. I just type idl and use the command line and
aquamacs. I can type idlde to get the eclipse version should I want
it, but so far I haven't figured out why I would.



Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64958 is a reply to message #64956] Mon, 02 February 2009 09:14 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Keflavich writes:

> I'm still a bit spotty... does that mean I don't have the 7.0.4 update
> that includes the Mac OS X cursor/rdpix fixes? Since this is the only
> version I was able to download at ITT's website, I assumed it included
> that update, and the release notes seem to confirm that suspicion.
>
> I suppose I should mention that I exclusively use the command line
> version of IDL, not the Mac .app. I tried using the Mac .app and
> cursor seemed to work for that, but apparently I don't have a license
> for that version. Why should the .app and unix executable have such
> different behavior? Am I simply using the wrong executable?

I don't know what it means. I can't figure it out. :-(

I guess it means we need guidance from ITTVIS to tell
us what it all means. If we find out, I'll write it down
somewhere so we can remember it. :-)

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64959 is a reply to message #64958] Mon, 02 February 2009 09:08 Go to previous messageGo to next message
Keflavich is currently offline  Keflavich
Messages: 19
Registered: May 2008
Junior Member
> I think the problem is the screwy naming convention used
> by ITTVIS. Version 7.0.6 seems to be the *Eclipse* version
> of IDL. The IDL version remains 7.0. That means you are
> at the same level as my 7.0.3 version. Got it?

I'm still a bit spotty... does that mean I don't have the 7.0.4 update
that includes the Mac OS X cursor/rdpix fixes? Since this is the only
version I was able to download at ITT's website, I assumed it included
that update, and the release notes seem to confirm that suspicion.

I suppose I should mention that I exclusively use the command line
version of IDL, not the Mac .app. I tried using the Mac .app and
cursor seemed to work for that, but apparently I don't have a license
for that version. Why should the .app and unix executable have such
different behavior? Am I simply using the wrong executable?

Thanks,
Adam
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64960 is a reply to message #64959] Mon, 02 February 2009 08:57 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Keflavich writes:

> instead of the Version 7.0.6 with x86_64 I expect. So perhaps I have
> a version issue? The executable I'm using that I believe is 7.0.6 is
> in the same directory as a version.txt file containing "706", so I'm
> not sure what the problem is.

I think the problem is the screwy naming convention used
by ITTVIS. Version 7.0.6 seems to be the *Eclipse* version
of IDL. The IDL version remains 7.0. That means you are
at the same level as my 7.0.3 version. Got it?

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64962 is a reply to message #64960] Mon, 02 February 2009 08:53 Go to previous messageGo to next message
Keflavich is currently offline  Keflavich
Messages: 19
Registered: May 2008
Junior Member
> [balarsen@wireless1x-8-61]~> idl
> IDL Version 7.0.4, Mac OS X (darwin x86_64 m64). (c) 2008, ITT Visual
> Information Solutions
> IDL> plot, findgen(11)
> IDL>  cursor,x,y,/down
> IDL> print, x, y
>        4.1469264       5.7047893
> IDL>  cursor,x,y,/down,/device
> IDL> print,x,y
>          565         297

Actually, that's helpful to some degree - I have a couple versions of
IDL installed, apparently, but my startup line is:
IDL Version 7.0, Mac OS X (darwin i386 m32). (c) 2007, ITT Visual
Information Solutions

instead of the Version 7.0.6 with x86_64 I expect. So perhaps I have
a version issue? The executable I'm using that I believe is 7.0.6 is
in the same directory as a version.txt file containing "706", so I'm
not sure what the problem is.

> The newest X11/pkg seems to be 2.3.2.1 from here:http://xquartz.macosforge.org/trac/
> At one point X11.pkg was an issue as you state in the subject.

That's the one I got this morning.

> I seem to have 2.1.5 however... but since it's working and you're
> having trouble I may not upgrade.

That's a good call. Last time I upgraded X11 it broke many things and
I lost a day trying to revert everything.
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #64963 is a reply to message #64962] Mon, 02 February 2009 08:39 Go to previous messageGo to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
I realize this is not super helpful but everything seems to work for
me correctly...

[balarsen@wireless1x-8-61]~> idl
IDL Version 7.0.4, Mac OS X (darwin x86_64 m64). (c) 2008, ITT Visual
Information Solutions
IDL> plot, findgen(11)
IDL> cursor,x,y,/down
IDL> print, x, y
4.1469264 5.7047893
IDL> cursor,x,y,/down,/device
IDL> print,x,y
565 297


OSX 10.5.6 build 9G55
Macbook Pro - done locally

The newest X11/pkg seems to be 2.3.2.1 from here:
http://xquartz.macosforge.org/trac/
At one point X11.pkg was an issue as you state in the subject.

I seem to have 2.1.5 however... but since it's working and you're
having trouble I may not upgrade.


Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2 [message #65029 is a reply to message #64962] Mon, 09 February 2009 15:52 Go to previous message
jimuba is currently offline  jimuba
Messages: 9
Registered: February 2009
Junior Member
On Feb 2, 9:53 am, Keflavich <keflav...@gmail.com> wrote:
> Actually, that's helpful to some degree - I have a couple versions ofIDLinstalled, apparently, but my startup line is:IDLVersion 7.0, Mac OS X (darwin i386 m32). (c) 2007, ITT Visual
> Information Solutions
>
> instead of the Version 7.0.6 with x86_64 I expect.  So perhaps I have
> a version issue?  The executable I'm using that I believe is 7.0.6 is
> in the same directory as a version.txt file containing "706", so I'm
> not sure what the problem is.

IDL 7.0.6 is a full IDL product release with a core version IDL 7.0.6
and an IDL Workbench version to match. IDL 7.0.6 incorporates all
previous recommended version 7.0.x Workbench updates.

If the IDL session shows version 7.0 instead of 7.0.6 then the older
core IDL 7.0 session is actually being invoked. If so, there are a
couple of different reasons I can think this might be happening:

1.) If the IDL_DIR environment variable in your shell environment is
pointing to the "idl70" directory rather than to the "idl706"
directory, then launching "idl" shell script, even from the idl706/bin
directory, will cause IDL 7.0 to launch. If this might be the case,
try redefining IDL_DIR to point to the idl706 directory or running the
IDL 7.0.6 setup script prior to issuing the "idl" command. For
example:

Bash shell:
export IDL_DIR=/Applications/itt/idl706
-or-
. /Applications/itt/idl706/bin/idl_setup.bash

C or tcsh shell:
setenv IDL_DIR=/Applications/itt/idl706
-or-
source /Applications/itt/idl706/bin/idl_setup

2.) Perhaps a UNIX alias or a symbolic link for the "idl" command is
explicitly launching IDL 7.0. To check this, issue the command:

which idl
-or-
alias idl

If this returns the path to an incorrect symbolic link or an incorrect
alias command, the link or alias can be altered, or try running the
IDL 7.0.6 setup script, as mentioned above, before issuing the "idl"
command to start the IDL 7.0.6 command line session.

If there still seems to be a problem, please send an email to
support@ittvis.com with a subject line "Attention: Jim Uba", and then
I'll continue to work with you directly. I can then post a solution
when we figure what is going wrong.

Hopefully correcting the IDL version problem will allow you use the
CURSOR fix as originally planned.

Cheers,

Jim Uba
Technical Support Engineer
ITT Visual Information Solutions
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to plot linear regression relation of two array?
Next Topic: Re: Reduced chi-square goodness-of-fit statistic

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

Current Time: Wed Oct 08 15:36:13 PDT 2025

Total time taken to generate the page: 0.00627 seconds