XCMSTEST(1) AIX XCMSTEST(1) NAME xcmstest - XCMS test program SYNOPSIS xxxxccccmmmmsssstttteeeesssstttt [-display displayname] or xxxxccccmmmmsssstttteeeesssstttt -echo [-display displayname] < cmdfile DESCRIPTION _x_c_m_s_t_e_s_t was developed as a simple test interface for test- ing the XCMS API library during its development. BEFORE INVOCATION Insure that the Screen Color Characterization Data has been placed in the appropriate properties on the screen's root window. To load these properties, refer to the xcmsdb util- ity provided with this release. In order to convert color names using a client-side color name database, the database file must be specified via the XCMSDB environment variable. To use the sample database provided with this release set XCMSDB as follows: % setenv XCMSDB `pwd`/Xcms.txt USING XCMSTEST Upon invocation of xcmstest, you should receive a "XCMS >" prompt. At this point you can begin entering commands. To list the commands currently available enter "list": XCMS > list To receive help for a specific command enter the command name followed by "-help". For example: XCMS > LookupColor -help The -echo option provides a more readable output, echoing the command from the cmdfile. At some point in time, you might try using some simple test cases provided with the release (in the tc directory, e.g. test1, test2, AllocNColor, gamutquery). For example, to use commmand file test1, invoke xcmstest as follows: % xcmstest -echo < tc/test1 CAVEATS Color name strings passed to xcmstest commands cannot con- tain a space. However, since spaces are ignored by the XCMS API library, you can pass a color name with the spaces elim- inated. For example: XCMS > LookupColor cornflowerblue UNDEFINED RGB Rev. Release 5 Page 1 XCMSTEST(1) AIX XCMSTEST(1) SEE ALSO xcmsdb(1), Chapter 6 of Xlib - C Language X Interface. COPYRIGHT Copyright 1991, Massachusetts Institute of Technology. Rev. Release 5 Page 2