> |I would like to know how to set the colors of the display
> |page in ghostview (HP-UX 9.05, VUE 3.0).
> |Is this therefore a VUE problem? If this is a basic exercise
> |please just point me to where to look.
> From the comp.sys.hp.hpux FAQ-
> 6.16 How can I get HP-VUE to not override colors?
> The Motif library on HP-UX has extra code added to make the default
> colors follow the color schemes that the user selects with the vuestyle
> controls. This extra code makes trouble for some applications which
> don't want this unique and unexpected behavior.
> You can prevent the entire color scheme mechanism from being used in an
> application by setting "*useColorObj: False" for the application before
> creating the first widget. This can be done by adding the resource to
> the application defaults, the fallback resources, or as an extra "-xrm"
> "*useColorObj: False" args pair in the argv and argc parameters passed
> to XtAppInitialize. If you set the resource in xrdb it would be best to
> set it for only specific applications like "MyApp*useColorObj: False".
> Setting the useColorObj resource could make programs core dump on some
> 8.0* systems. There is a patch that corrects the core dump.
> You can use the vue colors and prevent the specific difference between
> dialog colors vs. non-dialog colors by setting a resource that
> specifies the behavoir of the color scheme mechanism. To force the
> dialogs to use the same colors as the other windows set the following
> resources in your app_defaults file or fallback settings-
> *primaryColorSetId: 3
> *secondaryColorSetId: 3
> This sets the dialog or "secondary" colors to the same set as the primary
> colors. This is discussed in the "HP VUE 3.0 User's Guide" in chapter 26.
> --
> |I would like to know how to set the colors of the display
> |page in ghostview (HP-UX 9.05, VUE 3.0).
> |Is this therefore a VUE problem? If this is a basic exercise
> |please just point me to where to look.
> From the comp.sys.hp.hpux FAQ-
> 6.16 How can I get HP-VUE to not override colors?
> The Motif library on HP-UX has extra code added to make the default
> colors follow the color schemes that the user selects with the vuestyle
> controls. This extra code makes trouble for some applications which
> don't want this unique and unexpected behavior.
> You can prevent the entire color scheme mechanism from being used in an
> application by setting "*useColorObj: False" for the application before
> creating the first widget. This can be done by adding the resource to
> the application defaults, the fallback resources, or as an extra "-xrm"
> "*useColorObj: False" args pair in the argv and argc parameters passed
> to XtAppInitialize. If you set the resource in xrdb it would be best to
> set it for only specific applications like "MyApp*useColorObj: False".
> Setting the useColorObj resource could make programs core dump on some
> 8.0* systems. There is a patch that corrects the core dump.
> You can use the vue colors and prevent the specific difference between
> dialog colors vs. non-dialog colors by setting a resource that
> specifies the behavoir of the color scheme mechanism. To force the
> dialogs to use the same colors as the other windows set the following
> resources in your app_defaults file or fallback settings-
> *primaryColorSetId: 3
> *secondaryColorSetId: 3
> This sets the dialog or "secondary" colors to the same set as the primary
> colors. This is discussed in the "HP VUE 3.0 User's Guide" in chapter 26.
> --
I tried all of the above and ghostview didn't budge. I could
still color the scrollbars which are on the same widget tree,
but not the background. All behavior was indpendent of the above
resource settings.
I also tried to do the coloring in fvwm on my HP station, and I
couldn't do it. Since I could do it in fvwm at home, I guess the
problem may be in ghostview after all.
Rajmund Krivec