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

Home » Public Forums » archive » PV-WAVE/OpenWindows colormap bug workaround
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
PV-WAVE/OpenWindows colormap bug workaround [message #39] Mon, 11 February 1991 15:21
joelb is currently offline  joelb
Messages: 1
Registered: February 1991
Junior Member
Those of you using PV-WAVE versions 2.x or 3.0 under SunOS 4.1 & OpenWindows
version 2 may have noticed an annoying "feature": the default color map that
PV-WAVE uses causes the Sun colormap to be set to all-white upon exiting from
OpenWindows. This means that one can't see what one is typing. The
condition is not reset by logging in or out; only explicitly resetting the
colormap (by re-entering OpenWindows, for example), or implicitly resetting
it (by rebooting) will fix the problem.

It seems that responsibility for this problem lies both with PV-WAVE, for
leaving a "bad" colormap on exit, and Sun, for not resetting the color map
upon exiting OpenWindows. PV-WAVE was not helpful in finding a fix for
this problem, but Sun pointed out the utility /usr/bin/clear_colormap, which
resets the colormap to the Sun defaults.

The workaround, then, is to invoke /usr/bin/clear_colormap just before the
exit(0) call of /usr/bin/openwin (the OpenWindows startup shell script).
This resets the colormap after the X server has already exited.

Joel Berendzen, Biophysics Group (P-6), Los Alamos National Lab.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl vs pvwave, which to buy?
Next Topic: Re: PV-WAVE/OpenWindows colormap bug workaround

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

Current Time: Wed Oct 08 13:27:40 PDT 2025

Total time taken to generate the page: 0.00600 seconds