[comp.windows.x] twm and colormap

nowlin@ace.sri.com (Bill Nowlin) (06/08/91)

Admittedly I tried and failed to find the FAQ guide before asking
this question, so here goes anyway.

SGI irix 3.3.2, 4D/310VGX X11R4 twm

Running under twm, applications are unable to obtain sufficient 
colormap entries from the default colormap.  Creating a new 
colormap works, but is ugly as you move in and out of the window 
owning the new colormap.  Furthermore, xshowcmap shows a colormap 
that is startling regular after the first 16 or so entries.

Clients that are unable to get the colormap entries they need
include xterm and other standard programs.

These programs experience no difficulty when running under any
other window manager that I have tried.

Suggestions?  Directions?  Objections?  Rejections!?

Bill Nowlin				"Their ideas; my opinions"
SRI Intl
nowlin@ace.sri.com
(415) 859-5628

hajadi@sgi.com (Ivan M. Hajadi) (06/10/91)

In article <25228@unix.SRI.COM> nowlin@ace.sri.com (Bill Nowlin) writes:
>Admittedly I tried and failed to find the FAQ guide before asking
>this question, so here goes anyway.
>
>SGI irix 3.3.2, 4D/310VGX X11R4 twm
>
>Running under twm, applications are unable to obtain sufficient 
>colormap entries from the default colormap.  Creating a new 
>colormap works, but is ugly as you move in and out of the window 
>owning the new colormap.  Furthermore, xshowcmap shows a colormap 
>that is startling regular after the first 16 or so entries.
>
>Clients that are unable to get the colormap entries they need
>include xterm and other standard programs.
>
>These programs experience no difficulty when running under any
>other window manager that I have tried.
>
>Suggestions?  Directions?  Objections?  Rejections!?
>
>Bill Nowlin				"Their ideas; my opinions"
>SRI Intl
>nowlin@ace.sri.com
>(415) 859-5628


try running the Xsgi with -gl or -pseudo option.
see man pages for xstart.
--

-- ivan

    Ivan M. Hajadi             hajadi@csd.sgi.com            

zzhang@xihu.inria.fr (Zhengyou Zhang) (06/12/91)

In article <25228@unix.SRI.COM>, nowlin@ace.sri.com (Bill Nowlin) writes:
> 
> Running under twm, applications are unable to obtain sufficient 
> colormap entries from the default colormap.  Creating a new 
> colormap works, but is ugly as you move in and out of the window 
> owning the new colormap.


What I do is to create a new colormap. I then copy the first, say 20, entries
of the default colormap into my own. It works fine for me.

-- 
Zhengyou Zhang -- Robotvis Project -- 
Email: zzhang@mirsa.inria.fr, Phone: (33) 93.65.78.33
INRIA - Sophia Antipolis, 2004, route des Lucioles
06565 Valbonne Cedex, FRANCE