HP OpenVMS Systems

ask the wizard
Content starts here

DECwindows truecolor and pseudocolor maps?

» close window

The Question is:

 
I have just updated my DEC300-300 workstaion to
ZLX-E3 24bit graphics under DECW-Motif 1.2-4.
with OPEN3D v4.1
 
The default visual now gets set to truecolor on
boot and login (see output from XDPYINFO
attached). This seems to result in a very strange
color map. Setting the default visual to
pseudocolor in DECW$PRIVATE_SERVER_SETUP.COM does
not change the default on reboot.
 
Is there a way to adjust the color map and/or
change the visual id: dynamically.
 
 
**********************************************************************
* David Atkinson Ph.D.                 INTERnet:  atkinson@bu.edu    *
* Professor of Biophysics              Telephone: 617-638-4015       *
* Research Professor of Biochemistry   FAX:       617-638-4041       *
* Department of Biophysics                                           *
* Boston University School of Medicine                               *
* 715 Albany Street                                                  *
* Boston, MA. 02118, USA                                             *
*                                                                    *
*        URL:  http://med-biophd.bu.edu/www/faculty/atkinson.htm     *
**********************************************************************
 
 
name of display:    WSA3:
version number:    11.0
vendor string:    DECWINDOWS DigitalEquipmentCorp. AXP
vendor release number:    7001
maximum request size:  65535 longwords (262140 bytes)
motion buffer size:  0
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    6
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 12, bits_per_pixel 32, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
number of extensions:    19
    DEC-Server-Mgmt-Extension
    ServerManagementExtension
    SHAPE
    MIT-SHM
    XTEST
    BIG-REQUESTS
    MIT-SUNDRY-NONSTANDARD
    MIT-SCREEN-SAVER
    SYNC
    AccessX
    Adobe-DPS-Extension
    DPSExtension
    Xie
    DEC-XTRAP
    Multi-Buffering
    X3D-PEX
    GLX
    DEC-GLX
    DECStereo
default screen number:    0
number of screens:    1
 
screen #0:
  dimensions:    1280x1024 pixels (325x260 millimeters)
  resolution:    100x100 dots per inch
  depths (4):    8, 12, 24, 4
  root window id:    0x3c
  depth of root window:    24 planes
  number of colormaps:    minimum 2, maximum 6
  default colormap:    0x21
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store YES, save-unders YES
  current input event mask:    0x70003c
    ButtonPressMask          ButtonReleaseMask        EnterWindowMask
    LeaveWindowMask          SubstructureRedirectMask FocusChangeMask
    PropertyChangeMask
  number of visuals:    21
  default visual id:  0x31
 
 
 
 


The Answer is :

 
  Please contact the customer support center.
 
  Expect to be asked for the exact command(s) you have used to set
  this up in DECW$PRIVATE_SERVER_SETUP.COM and for the particular
  Open3D version.  They may likely have a few other questions.
 
	--
 
  The default visual class can be selected by editing the default
  visual class switch in the file DECW$PRIVATE_SERVER_SETUP.COM:
 
    $! PseudoColor
    $!
    $ DECW$SERVER_DEFAULT_VISUAL_CLASS == "3"
    $!
 

answer written or last revised on ( 2-OCT-1998 )

» close window