Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Xwincmaps(4) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Xwinconfig(4)






       Xwincmaps(4)                                            Xwincmaps(4)


       NAME
             Xwincmaps - UnixWare X Server color map file

       DESCRIPTION
             The server reads the /usr/X/defaults/Xwincmaps file to fill up
             the static color map.  Each line has 'R', 'G', and 'B' values.
             There are several colormaps in the default Xwincmaps file, but
             custom colormaps can be created and added to this file.  The
             server takes the first uncommented colormap (without '#' in
             the first column) as the valid colormap data.

             The format of the colormap data is:

                   colormap   type   screen_num   num_colors
                   RED_VAL,   BLUE_VAL,   GREEN_VAL,
                   RED_VAL,   BLUE_VAL,   GREEN_VAL,
                    .
                    .
                    .

             Where

             colormap
                     key word.  This is the same for all entries.

             type    type of colormap.  This can be PseudoColor,
                     StaticColor, or GrayScale.

             screen_num
                     screen number

             num_colors
                     number of colors

             RED_VAL red value

             GREEN_VAL
                     green value

             BLUE_VAL
                     blue value

             The number of RED_VAL, BLUE_VAL, GREEN_VAL, lines should be
             the same as num_colors.




                           Copyright 1994 Novell, Inc.               Page 1













      Xwincmaps(4)                                            Xwincmaps(4)


      USAGE
            To use the colormap of your choice, add a # to the current
            definition and remove the # sign in front of the new
            definition line, for example,

                  colormap    StaticColor 0.0   16

            To use a private copy of your color map, either of the
            following commands can be used.

                  olinit -- -cmap $HOME/mycmap
                  X -cmap $HOME/mycmap &

         EXAMPLES
            The following is equivalent to the default colormap on the
            XWIN server.

               colormap     StaticColor    0.0     16
                   0x0000,    0x0000,    0x0000,
                   0xFFFF,    0xFFFF,    0xFFFF,
                   0xAAAA,    0xAAAA,    0xAAAA,
                   0x0000,    0x0000,    0xAAAA,
                   0x0000,    0x0000,    0xFFFF,
                   0x0000,    0xAAAA,    0xFFFF,
                   0x0000,    0xFFFF,    0xFFFF,
                   0x0000,    0xAAAA,    0x0000,
                   0x0000,    0xFFFF,    0x0000,
                   0xAAAA,    0xFFFF,    0x5555,
                   0xAAAA,    0x5555,    0x0000,
                   0xFFFF,    0xAAAA,    0x0000,
                   0xFFFF,    0xFFFF,    0x0000,
                   0xAAAA,    0x0000,    0xAAAA,
                   0xFFFF,    0x0000,    0xFFFF,
                   0xFFFF,    0x0000,    0x0000,
               #colormap    StaticColor    0.0     16
                   0x0000,    0x0000,    0x0000,
                   0xffff,    0xffff,    0xffff,
                   0xa699,    0xa699,    0xa699, # a bit darker than openlook gray
                   0x0000,    0x0000,    0xaaaa, # navy
                   0x0000,    0x5144,    0xffff, # a bit less saturated than blue
                   0x0000,    0xaaaa,    0xffff, # sky blue
                   0x0000,    0xe79d,    0xe79d, # a bit darker than openlook cyan
                   0x0000,    0xaaaa,    0x0000, # lime green (openlook forestgreen)
                   0x0000,    0xdf7d,    0x0000, # a bit darker than green
                   0x2081,    0x8e38,    0x69a6, # sea green
                   0xaaaa,    0x5555,    0x0000, # brown


                          Copyright 1994 Novell, Inc.               Page 2













       Xwincmaps(4)                                            Xwincmaps(4)


                    0xf3ce,    0x9e79,    0x0000, # a bit darker than openlook orange
                    0xffff,    0xffff,    0x0000, # yellow
                    0xaaaa,    0x0000,    0xaaaa, # violet
                    0x9248,    0xcb2b,    0x9248, # wheat-like color
                    0xffff,    0x0000,    0x0000, # red

       NOTICES
             PseudoColor is not recommended for 16 colors.

       REFERENCES
             Xwinconfig(4)





































                           Copyright 1994 Novell, Inc.               Page 3








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026