home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat1 / xcmstest.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XCMSTEST(1)                          XCMSTEST(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        xcmstest - XCMS test program
  9.  
  10. SSYYNNOOPPSSIISS
  11.        xxccmmsstteesstt [-display displayname]
  12.  
  13.     or
  14.  
  15.        xxccmmsstteesstt -echo [-display displayname] < cmdfile
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.        _x_c_m_s_t_e_s_t     was  developed     as  a    simple test interface for
  19.        testing the XCMS API library during its development.
  20.  
  21. BBEEFFOORREE IINNVVOOCCAATTIIOONN
  22.        Insure that the Screen  Color  Characterization    Data  has
  23.        been  placed in the appropriate properties on the screen's
  24.        root window.  To     load  these  properties,  refer  to  the
  25.        xcmsdb utility provided with this release.
  26.  
  27.        In  order to convert color names using a client-side color
  28.        name database, the database file must be specified via the
  29.        XCMSDB environment variable.
  30.  
  31.        To  use the sample database provided with this release set
  32.        XCMSDB as follows:
  33.        % setenv XCMSDB `pwd`/Xcms.txt
  34.  
  35. UUSSIINNGG XXCCMMSSTTEESSTT
  36.        Upon invocation of xcmstest, you should receive a "XCMS >"
  37.        prompt.    At this point you can begin entering commands.
  38.  
  39.        To list the commands currently available enter "list":
  40.            XCMS >  list
  41.  
  42.        To  receive  help for a specific command enter the command
  43.        name followed by "-help".  For example:
  44.            XCMS >  LookupColor -help
  45.  
  46.        The -echo option provides a more readable output,  echoing
  47.        the  command from the cmdfile.  At some point in time, you
  48.        might try using some simple test cases provided    with  the
  49.        release    (in the tc directory, e.g.  test1, test2, AllocN-
  50.        Color, gamutquery).  For example,  to  use  commmand  file
  51.        test1, invoke xcmstest as follows:
  52.            % xcmstest -echo < tc/test1
  53.  
  54. CCAAVVEEAATTSS
  55.        Color name strings passed to xcmstest commands cannot con-
  56.        tain a space.  However, since spaces are     ignored  by  the
  57.        XCMS  API  library,  you     can  pass  a color name with the
  58.        spaces eliminated.  For example:
  59.            XCMS >  LookupColor    cornflowerblue    UNDEFINED
  60.        RGB
  61.  
  62.  
  63.  
  64. X Version 11            Release 6                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XCMSTEST(1)                          XCMSTEST(1)
  71.  
  72.  
  73. SSEEEE AALLSSOO
  74.        xcmsdb(1), Chapter 6 of Xlib - C Language X Interface.
  75.  
  76. CCOOPPYYRRIIGGHHTT
  77.        Copyright 1991, X Consortium
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11            Release 6                2
  131.  
  132.  
  133.