The 'MAC' device and the 'CURSOR_IMAGE' keyword [message #7066] |
Mon, 23 September 1996 00:00  |
David Theil
Messages: 11 Registered: May 1996
|
Junior Member |
|
|
Does anyone know how to manipulate the cursor under the mac version
of IDL? When I try to set the cursor_image keyword in a device call
I get an error 'Keyword CURSOR_IMAGE not allowed in call to: DEVICE'.
I have done this successfully under UNIX IDL, so what gives? None of
the documentation suggests this might be a problem.
I have some other Mac IDL specific questions:
xloadct does not work properly on my mac. Changing the color table does
not update the currently displayed graphics. Why?
I reinstalled IDL to try to fix the above problem. Now when I type '?'
at the prompt, IDL fails to open the onlline help application. I
get no error and this worked fine before. Anybody got any ideas?
----------
David Theil
home work
University of Colorado
3360 34th St. D campus box 389
Boulder, Colorado Boulder, Colorado
80301 80309
(303)449-3113 (303)492-0895
No guts, no glory.
|
|
|
Re: The 'MAC' device and the 'CURSOR_IMAGE' keyword [message #7107 is a reply to message #7066] |
Wed, 02 October 1996 00:00  |
joseph.b.gurman
Messages: 15 Registered: October 1995
|
Junior Member |
|
|
In article <callen-0110962256590001@dialup-01-036.austin.io.com>,
callen@io.com (Charles Allen) wrote:
>> the one you stated. It seems that IDL under Mac OS does not update windows
>> dynamically. For instance if you have a plot window open and change your
>> color table with loadct (instead of xloadct) the new colors are not
>> updated until you redraw the window from within IDL or by covering and
>> uncovering outside the IDL. I suspect that has to do with the nature of
>> the OS and the fact that it is driven via apple events and IDL is not
>> written optimally for Mac OS.
>
> No.
>
> This depends solely on SCREEN DEPTH, not the OS.
>
> If you use 8-bit color on a Mac, all windows update as soon as you select
> a color table from the list in xloadct, or as soon as a loadct command is
> given.
>
> If you use 24-bit color on a Unix box, the windows do not update until
> they are redrawn.
Yeah.
Why?
Will this be fixed in 5.0?
Netscape works fine in 24-bit mode. Surely RSI has as good
programmers, right?
Joe Gurman
--
J.B. Gurman / Solar Physics Branch/ NASA Goddard Space Flight Center/
Greenbelt MD 20771 USA / joseph.b.gurman@gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions while at |
| work. Therefore, any opinions expressed herein are somebody else's. |
|
|
|
Re: The 'MAC' device and the 'CURSOR_IMAGE' keyword [message #7110 is a reply to message #7066] |
Tue, 01 October 1996 00:00  |
callen
Messages: 5 Registered: October 1996
|
Junior Member |
|
|
> the one you stated. It seems that IDL under Mac OS does not update windows
> dynamically. For instance if you have a plot window open and change your
> color table with loadct (instead of xloadct) the new colors are not
> updated until you redraw the window from within IDL or by covering and
> uncovering outside the IDL. I suspect that has to do with the nature of
> the OS and the fact that it is driven via apple events and IDL is not
> written optimally for Mac OS.
No.
This depends solely on SCREEN DEPTH, not the OS.
If you use 8-bit color on a Mac, all windows update as soon as you select
a color table from the list in xloadct, or as soon as a loadct command is
given.
If you use 24-bit color on a Unix box, the windows do not update until
they are redrawn.
-- Charles Allen -- callen@io.com --
|
|
|
Re: The 'MAC' device and the 'CURSOR_IMAGE' keyword [message #7150 is a reply to message #7066] |
Tue, 24 September 1996 00:00  |
szoonem
Messages: 16 Registered: June 1995
|
Junior Member |
|
|
In article <32466B11.7B16@casa.colorado.edu>, David Theil
<theil@casa.colorado.edu> wrote:
> Does anyone know how to manipulate the cursor under the mac version
> of IDL? When I try to set the cursor_image keyword in a device call
> I get an error 'Keyword CURSOR_IMAGE not allowed in call to: DEVICE'.
>
> I have done this successfully under UNIX IDL, so what gives? None of
> the documentation suggests this might be a problem.
>
> I have some other Mac IDL specific questions:
> xloadct does not work properly on my mac. Changing the color table does
> not update the currently displayed graphics. Why?
>
> I reinstalled IDL to try to fix the above problem. Now when I type '?'
> at the prompt, IDL fails to open the onlline help application. I
> get no error and this worked fine before. Anybody got any ideas?
> ----------
> David Theil
>
> home work
> University of Colorado
> 3360 34th St. D campus box 389
> Boulder, Colorado Boulder, Colorado
> 80301 80309
> (303)449-3113 (303)492-0895
>
>
>
> No guts, no glory.
-----------------------------------------------
The IDL addendum for Mac OS states that the Mac OS does not allow
manipulation of the curser by any method except the mouse. They are right.
I believe that is fundamental to the operating system and cannot be
changed.
I have the same problem with xloadct which is a more general problem than
the one you stated. It seems that IDL under Mac OS does not update windows
dynamically. For instance if you have a plot window open and change your
color table with loadct (instead of xloadct) the new colors are not
updated until you redraw the window from within IDL or by covering and
uncovering outside the IDL. I suspect that has to do with the nature of
the OS and the fact that it is driven via apple events and IDL is not
written optimally for Mac OS.
I have no idea what is happenning with the online help. First, are you
sure that the online help alias exists in the same folder as the IDL
application itself. Of course if all else fails, why don't you just double
click on the "IDL Help" alias to launch it and keep it in the background.
Hope the above is useful.
- Saeid
------------------------------------------------------------ -----
| Saeid Zoonematkermani | E-Mail: szoonem@astro.sunysb.edu |
| Earth and Space Sciences | Voice: (516)632-8237 |
| State University of New York | Fax: (516)632-8742 |
| Stony Brook, NY 11794-2100 | |
------------------------------------------------------------ -----
| Home Page --> http://ozone.ess.sunysb.edu/ |
------------------------------------------------------------ -----
|
|
|