Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Thu May 31 2001 - 09:53:32 EDT
Dear Ole, The problem with running off of PC X-servers is that they tend to arrange the colormap differently than UNIX systems do. I have added some hooks to environment variables that are supposed to deal with this situation, which hopefully is relevant to what you're experiencing (I seem to recall similar behavior when I was changing the code). Somewhere between magic 6.5.1 and 7.1 I added the hooks. The way to use them is to declare the following in the UNIX shell (either before executing magic, or in the login file): setenv X_COLORMAP_BASE 128 setenv X_COLORMAP_DEFAULT 0 This is supposed to solve the problem. Alternatively, you can run magic in 16-bit mode instead of forcing the Windows system to run in 8 bits. This is supposed to work automatically if you have the Windows screen visual set to 16 bits (or 24 bits); if it doesn't, you can force magic to use the correct visual using setenv MAGIC_COLOR "16bit" or the appropriate string. Sorry that these features are not documented. Regards, Tim
|
|