home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12626 < prev    next >
Encoding:
Text File  |  1992-11-07  |  4.0 KB  |  116 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!haven.umd.edu!purdue!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!nuscc!iti.gov.sg!kevin
  3. From: kevin@iti.gov.sg (Kevin Patt (SE))
  4. Subject: Changing Default Visual
  5. Message-ID: <1992Nov6.093300.26192@iti.gov.sg>
  6. Sender: news@iti.gov.sg (News Admin)
  7. Organization: National Computer Board, Singapore
  8. Date: Fri, 6 Nov 1992 09:33:00 GMT
  9. Lines: 105
  10.  
  11. Hi,
  12.  
  13.     I have gotten myself a HP720 with a CRX24Z card.  
  14.  
  15.     This is my problem.  I need my X Windows visual to have 256 color cells,
  16.     but the default visual keeps returning a visual with 255 color cells.
  17.     The display information is as follows:
  18.  
  19. ** xdpyinfo **
  20. name of display:    endor:0.0
  21. version number:    11.0
  22. vendor string:    Hewlett-Packard Company
  23. vendor release number:    5
  24. maximum request size:  16384 longwords (65536 bytes)
  25. motion buffer size:  100
  26. bitmap unit, bit order, padding:    32, MSBFirst, 32
  27. image byte order:    MSBFirst
  28. number of supported pixmap formats:    9
  29. supported pixmap formats:
  30.     depth 1, bits_per_pixel 1, scanline_pad 32
  31.     depth 2, bits_per_pixel 8, scanline_pad 32
  32.     depth 3, bits_per_pixel 8, scanline_pad 32
  33.     depth 4, bits_per_pixel 8, scanline_pad 32
  34.     depth 6, bits_per_pixel 8, scanline_pad 32
  35.     depth 8, bits_per_pixel 8, scanline_pad 32
  36.     depth 12, bits_per_pixel 16, scanline_pad 32
  37.     depth 24, bits_per_pixel 32, scanline_pad 32
  38.     depth 32, bits_per_pixel 32, scanline_pad 32
  39. keycode range:    minimum 10, maximum 135
  40. number of extensions:    10
  41.     HPExtension
  42.     ShareExtension
  43.     XTestExtension1
  44.     SHAPE
  45.     MIT-SHM
  46.     Multi-Buffering
  47.     XInputExtension
  48.     MIT-SUNDRY-NONSTANDARD
  49.     stellar-shmLink
  50.     shmLink
  51. default screen number:    0
  52. number of screens:    1
  53.  
  54. screen #0:
  55.   dimensions:    1280x1024 pixels (357x285 millimeters)
  56.   resolution:    91x91 dots per inch
  57.   depths (4):    1, 8, 12, 24
  58.   root window id:    0x26
  59.   depth of root window:    8 planes
  60.   number of colormaps:    minimum 1, maximum 5
  61.   default colormap:    0x24
  62.   default number of colormap cells:    255
  63.   preallocated pixels:    black 0, white 1
  64.   options:    backing-store YES, save-unders YES
  65.   current input event mask:    0x30003c
  66.     ButtonPressMask          ButtonReleaseMask        EnterWindowMask
  67.     LeaveWindowMask          SubstructureRedirectMask FocusChangeMask
  68.   number of visuals:    4
  69.   default visual id:  0x21
  70.   visual:
  71.     visual id:    0x20
  72.     class:    PseudoColor
  73.     depth:    8 planes
  74.     size of colormap:    256 entries
  75.     red, green, blue masks:    0x0, 0x0, 0x0
  76.     significant bits in color specification:    8 bits
  77.   visual:
  78.     visual id:    0x21
  79.     class:    PseudoColor
  80.     depth:    8 planes
  81.     size of colormap:    255 entries
  82.     red, green, blue masks:    0x0, 0x0, 0x0
  83.     significant bits in color specification:    8 bits
  84.   visual:
  85.     visual id:    0x22
  86.     class:    DirectColor
  87.     depth:    12 planes
  88.     size of colormap:    256 entries
  89.     red, green, blue masks:    0xf00, 0xf0, 0xf
  90.     significant bits in color specification:    4 bits
  91.   visual:
  92.     visual id:    0x23
  93.     class:    DirectColor
  94.     depth:    24 planes
  95.     size of colormap:    256 entries
  96.     red, green, blue masks:    0xff0000, 0xff00, 0xff
  97.     significant bits in color specification:    8 bits
  98.   number of mono multibuffer types:    4
  99.     visual id, max buffers, depth:    0x20, 0, 8
  100.     visual id, max buffers, depth:    0x21, 0, 8
  101.     visual id, max buffers, depth:    0x22, 0, 12
  102.     visual id, max buffers, depth:    0x23, 0, 24
  103.   number of stereo multibuffer types:    0
  104.  
  105. ** end of xdpyinfo display **
  106.  
  107.   So what do I need to do to change the default visual from 0x21 to 0x20?
  108.   I appreciate any help given.  Thanks in advance!
  109.  
  110. - Kevin
  111. -- 
  112. Kevin Patt                                     Information Technology Institute
  113. Associate Member of Technical Staff            Singapore 
  114. Email: (Internet) kevin@iti.gov.sg             Tel: (065) 772-0471 
  115.        (BITNet)   kevinpatt@itivax.bitnet      Fax: (065) 779-5966        
  116.