Operating System - HP-UX
1834008 Members
1873 Online
110063 Solutions
New Discussion

Re: Can't install private colormap

 

Can't install private colormap

I can't install a private colormap on HP9000 712 and 715 when I run the
application on the screen of the workstation but it runs on a X terminal or by
telnet. Did someone know why and how to solve it?
4 REPLIES 4
user not active
Frequent Advisor

Re: Can't install private colormap

Sounds since there are no problems wrt running the application on a xterminal,
that the problem could well be related to local Xserver settings on the HP-UX
system.

Have you tried looking at /etc/X11/X0screens or used SAM to try setting the
default visual of the Xserver to say either True or pseudo color and compared
the results ? Use the link "DISPLAY" via the sam gui to plough down into the
Xserver config stuff.

It could be a conflict between the H/W and the application depending on how the
application was written and what graphics card is installed, graphinfo output
may prove useful ?
user not active
Frequent Advisor

Re: Can't install private colormap

Sounds since there are no problems wrt running the application on a xterminal,
that the problem could well be related to local Xserver settings on the HP-UX
system.

Have you tried looking at /etc/X11/X0screens or used SAM to try setting the
default visual of the Xserver to say either True or pseudo color and compared
the results ? Use the link "DISPLAY" via the sam gui to plough down into the
Xserver config stuff.

It could be a conflict between the H/W and the application depending on how the
application was written and what graphics card is installed, graphinfo output
may prove useful ?
user not active
Frequent Advisor

Re: Can't install private colormap

A colleague of mine, Mike Stroyan also comments :

The question about private colormaps is familiar. Most of the workstation
displays can install multiple simultaneous colormaps, unlike Xterminals which
are almost always limited to one hardware colormap.
That can "break" programs that set a private colormap on just a toplevel
window. The program depends on the technicolor effect to make the child
windows use the private colormap even though they still have the default
colormap as their own attribute. The customer should check that all windows in
the application have the correct colormap attribute set.

Mike has a handy program for viewing the colormap use of running X clients, let
us know if you'd like a copy.

Thanks to Mike from HP for the above info.

Re: Can't install private colormap

The Xserver si already running in pseudocolor mode. I tried to look at the
X0screen file and with SAM in the DISPLAY section but I didn't find anything.

As Mike Stroyan says, there are 2 colormaps in the hardware of the workstation.
I would be happy to have a copy of this program to view the colormap use.

Thank you for your answers and in advance for the program.