mullings@HARVARD.HARVARD.EDU (Howard Mullings) (11/18/88)
I have a color vaxII/gpx running ultrix 3.0 (field test 2) and the x server only supports a visual of depth 8. In addtion, the default pixels for black and white are not 0 and 1 as I expected. When I draw lines using GXxor they don't appear at all. I have set the plane mask of the gc for the operation to 1 but this doesn't help. I'm not quite up to speed with creating other colormaps (e.g. a colormap with only two entries for the foreground and background colors) but this might be necessary. When I run my application on a black & white sun3 everything works fine. If you know how to fix this problem I would really like to hear from you. Thanks, Howard Mullings mullings@harvard.harvard.edu (617) 876-7636
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (11/18/88)
In addtion, the default pixels for black and white are not 0 and 1 as I expected. You shouldn't have expected that (unless you're an X10 junkie who hasn't read the X11 manuals carefully :-). Read about BlackPixel and WhitePixel in the Xlib manual. You don't need a new colormap.