Library /sys$common/syshlp/examples/decw/custom.hlb Overview, running *Conan The Librarian (sorry for the slow response - running on an old VAX) |
To run the color customizer, perform the following steps: 1. Copy the files CUSTOM.UID and CUSTOM.EXE, which were created during the building of the customizer, to the directory from which the customizer will be run. A typical location is SYS$LOGIN or DECW$USER_DEFAULTS. 2. Copy the files CUSTOM.DAT and DXMDEFAULTS.DAT from DECW$EXAMPLES to the same location as in step 1. Typically SYS$LOGIN or DECW$USER_DEFAULTS. 3. Run the executable file CUSTOM.EXE. $ RUN CUSTOM ________________________ Note ________________________ Only the colors of applications invoked after the customizer starts will be affected. For this reason, make the customizer the first X application to start during the login process. ______________________________________________________ o Modifying DECW$LOGIN.COM The color customizer should be the first X application started during the login process. This can be accomplished by starting it as a subprocess from within your file DECW$LOGIN.COM. You will also want to add a command to wait, approximately 10 seconds, to allow the customizer to get started before starting other applications. Add the following lines to DECW$LOGIN.COM: $! Starting the color customizer $ DISPLAY = F$LOGICAL("DECW$DISPLAY") $ SPAWN/NOWAIT/OUTPUT='DISPLAY' RUN SYS$LOGIN:CUSTOM.EXE $ WAIT 0:0:10 See Using DECwindows Motif for OpenVMS and Managing DECwindows Motif for OpenVMS Systems for more information on the file DECW$LOGIN.COM.
|