Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Starbase Technical Addendum for the July, 1997 Workstation ACE for 10.20 HP-UX: HP 9000 Workstations and Servers > Chapter 3 The HP VISUALIZE-48 and HP VISUALIZE-48XP Devices

Moving the Default Visual to the Image Planes

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NOTE: By default the overlay planes have the default X11 color map permanently locked into one hardware color map, and any other hardware color maps used by the overlay planes are available for applications to use. Moving the default visual into the image planes will limit the number of hardware color maps available to you. In this mode, the HP Visualize-48 and HP Visualize-48XP provide a single hardware color map in the overlay planes.

Since HP-UX 9.05, X Windows have provided a method for changing the default visual from a depth 8 overlay PseudoColor visual to a depth 8 image PseudoColor visual. This is done by moving the default visual to the depth 8 image PseudoColor visual. To do this, use SAM. Or, manually edit the file[8]:

x11-admin〉/X*screens

and add the following lines:

Screen 〈dev〉/crt
DefaultVisual
Class PseudoColor
Depth 8
Layer Image

The * in the X*screens file name specifies the display_number. To determine the display number, execute this shell command:

echo $DISPLAY

Your results will have the following syntax:

host_name〉:〈display_number〉.〈screen_number

Here is an example of what your display name might look like after executing the echo $DISPLAY shell command:

mysystem:0.0

where host_name is mysystem, display_number is 0, and screen_number is 0. In the above example, you would edit the file:

x11-admin〉/X0screens

Note that the syntax of this specification has changed. For more information, see the file:

x11〉/Xserver/info/screens/hp


[8] The actual path names of directories in angle brackets depend on the file system structure. See the Graphics Administration Guide for details.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.