My canvas requires a lot of colours. How can I reduce flashing?
The effects of flashing can be reduced by creating a colormap, copying the colours across from the default colormap, and avoiding over-writing the most sensitive areas. These tend to be the first few and the last two entries (caveat: if you over-write the colours which have been protected by cmap_compact you will make things worse, not better.) Under XView, the only way to do this is by bypassing the CMS and using Xlib calls to create and install a colormap. There are one or two “gotcha”s here, in particular the use of an X atom to instruct the server to load the colormap when the cursor is moved over the window. Consequently an example demonstrating how to do this has been written and is attached ath the end of this document. (All the usual disclaimers apply) This is a fairly drastic solution, and should only be considered in situations where the previously mentioned solutions of setting resources or using cmap_compact have been rejected. The example works by automatically installing