home *** CD-ROM | disk | FTP | other *** search
- From: chan@hpfcmgw.FC.HP.COM (Chan Benson)
- Date: Fri, 6 Nov 1992 19:18:18 GMT
- Subject: Re: Changing Default Visual
- Message-ID: <17780271@hpfcmgw.FC.HP.COM>
- Organization: HP Fort Collins, CO
- 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
- Newsgroups: comp.sys.hp
- References: <1992Nov6.093300.26192@iti.gov.sg>
- Lines: 27
-
- > I have gotten myself a HP720 with a CRX24Z card.
- >
- > This is my problem. I need my X Windows visual to have 256 color cells,
- > but the default visual keeps returning a visual with 255 color cells.
- > The display information is as follows:
- >
- > ...
- >
- > So what do I need to do to change the default visual from 0x21 to 0x20?
- > I appreciate any help given. Thanks in advance!
-
- For 8.07, I believe you're stuck. For HP-UX 9.0, there is an environment
- variable CRX24_COUNT_TRANSPARENT_IN_OVERLAY_VISUAL to control whether
- the default visual (overlay) permananently allocates a transparent pixel.
- Right now, it does, so the reported colormap size is 255 rather than
- 256.
-
- Once you get 9.0, look for info in /etc/newconfig/90RelNotes/hpuxsystem.
-
- Hmmm. Strangely enough, I just did a "strings" on my 8.07-based server
- and that env variable showed up. So it might be possible to get this
- functionality by getting the X server patch.
-
- -- Chan Benson
- HP Fort Collins
- chan@fc.hp.com
-
-