home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 May / PCO_5_97.ISO / FilesBBS / OS2 / XPM.ARJ / XPM / XPM.ZIP / XFree86 / man / man1 / sxpm.1
Encoding:
Text File  |  1996-03-19  |  3.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SXPM(1)                            SXPM(1)
  5.  
  6.  
  7. NAME
  8.        sxpm - Show an XPM (X PixMap) file and/or convert XPM 1 or
  9.        2 files to XPM 3.
  10.  
  11. SYNOPSIS
  12.        sxpm  [-d  displayname]    [-g  geometry]    [-hints]   [-icon
  13.        filename]  [-plaid  |  filename    | -] [-o filename | -o -]
  14.        [-pcmap] [-closecolors] [-nod] [-nom] [-mono  |    -grey4    |
  15.        -grey | -color] [-sc symbol color] [-sp symbol pixel] [-cp
  16.        color pixel] [-rgb filename] [-v]
  17.  
  18. DESCRIPTION
  19.        The sxpm program can be used to view any XPM (version 2 or
  20.        3) file and/or to convert a file from XPM1 and XPM2 to XPM
  21.        version 3. If sxpm is run with any dummy option specified,
  22.        the  usage  is displayed. If no geometry is specified, the
  23.        show window will have the size of the read pixmap.  Press-
  24.        ing the key Q in the window will quit the program.
  25.  
  26. OPTIONS
  27.        -d display
  28.            Specifies the display to connect to.
  29.  
  30.        -g geom Window geometry (default is pixmap's size).
  31.  
  32.        -hints  Set ResizeInc for window.
  33.  
  34.        -icon filename
  35.            Set icon to pixmap created from the file filename.
  36.  
  37.        -plaid  Show the plaid pixmap which is stored as data.
  38.  
  39.        filename
  40.            Read from the  file  filename  and  from    standard
  41.            input  if  filename is '-'.  If no input is speci-
  42.            fied sxpm reads from standard input.
  43.  
  44.        -o filename
  45.            Write  to  the  file  filename  (overwrite  if  it
  46.            already exists) and to standard output if filename
  47.            is '-'.
  48.  
  49.        -mono   Use the colors specified for a monochrome  visual.
  50.  
  51.        -grey4  Use  the    colors specified for a 4 color greyscale
  52.            visual.
  53.  
  54.        -grey   Use the colors specified for a greyscale visual.
  55.  
  56.        -color  Use the colors specified for a color visual.
  57.  
  58.        -pcmap  Use a private colormap.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                 1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SXPM(1)                            SXPM(1)
  71.  
  72.  
  73.        -closecolors
  74.            Try to use  "close  colors"  before  reverting  to
  75.            other visuals.
  76.  
  77.        -nod    Do  not    display    the pixmap in a window.  (Useful
  78.            when using as converter)
  79.  
  80.        -nom    Do not use the clipmask if there is any.
  81.  
  82.        -sc symbol colorname
  83.            Override default color to symbol to colorname.
  84.  
  85.        -sp symbol pixelvalue
  86.            Override default color to symbol to pixelvalue.
  87.  
  88.        -cp colorname pixelvalue
  89.            Override default color to colorname to pixelvalue.
  90.  
  91.        -rgb filename
  92.            Search  color names in the file filename and write
  93.            them out instead of the rgb values.
  94.  
  95.        -v      Verbose - to print out extensions (stderr).
  96.  
  97.  
  98.  
  99. KNOWN BUGS
  100.        Some window managers may not accept a pixmap which is  not
  101.        a bitmap as icon because this does not respect ICCCM, many
  102.        of the well known ones will accept it though.
  103.  
  104.  
  105. AUTHOR
  106.        Arnaud Le Hors    (lehors@sophia.inria.fr)
  107.        Bull Research France
  108.        Copyright (C) 1989-94 by Groupe Bull.
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                 2
  131.  
  132.  
  133.