home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12666 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.5 KB

  1. From: chan@hpfcmgw.FC.HP.COM (Chan Benson)
  2. Date: Fri, 6 Nov 1992 19:18:18 GMT
  3. Subject: Re: Changing Default Visual
  4. Message-ID: <17780271@hpfcmgw.FC.HP.COM>
  5. Organization: HP Fort Collins, CO
  6. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!scd.hp.com!hpscdm!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!hpfcmgw!chan
  7. Newsgroups: comp.sys.hp
  8. References: <1992Nov6.093300.26192@iti.gov.sg>
  9. Lines: 27
  10.  
  11. >     I have gotten myself a HP720 with a CRX24Z card.  
  12. >     This is my problem.  I need my X Windows visual to have 256 color cells,
  13. >     but the default visual keeps returning a visual with 255 color cells.
  14. >     The display information is as follows:
  15. >
  16. >   ...
  17. >
  18. >   So what do I need to do to change the default visual from 0x21 to 0x20?
  19. >   I appreciate any help given.  Thanks in advance!
  20.  
  21. For 8.07, I believe you're stuck. For HP-UX 9.0, there is an environment
  22. variable CRX24_COUNT_TRANSPARENT_IN_OVERLAY_VISUAL to control whether
  23. the default visual (overlay) permananently allocates a transparent pixel.
  24. Right now, it does, so the reported colormap size is 255 rather than
  25. 256.
  26.  
  27. Once you get 9.0, look for info in /etc/newconfig/90RelNotes/hpuxsystem.
  28.  
  29. Hmmm. Strangely enough, I just did a "strings" on my 8.07-based server
  30. and that env variable showed up. So it might be possible to get this
  31. functionality by getting the X server patch.
  32.  
  33.             -- Chan Benson
  34.             HP Fort Collins
  35.             chan@fc.hp.com
  36.  
  37.