Annotation of 43BSDTahoe/new/X/man/man1/pikapix.0, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: 
                      4: PIKAPIX(1)         UNIX Programmer's Manual           PIKAPIX(1)
                      5: 
                      6: 
                      7: 
                      8: NAME
                      9:      pikapix - recolor an X window snapshot
                     10: 
                     11: SYNOPSIS
                     12:      pikapix [ -s ] [ host:number ]
                     13: 
                     14: DESCRIPTION
                     15:      _P_i_k_a_p_i_x takes a snapshot of an existing window, and then
                     16:      lets you change colors in the snapshot.  This can be a con-
                     17:      venient way to choose sets of colors for applications.
                     18: 
                     19:      When started, _p_i_k_a_p_i_x grabs the mouse, and waits for you to
                     20:      select the window you want to recolor.  Clicking the right
                     21:      button on a window selects the entire top-level window.
                     22:      Clicking the middle button on a window selects the first
                     23:      level subwindow under the mouse, or the top-level window if
                     24:      there is no subwindow.  Clicking the left button on a top-
                     25:      level window selects the lowest subwindow under the mouse,
                     26:      or the top-level window if there is no subwindow. After a
                     27:      few moments, a snapshot of the window will appear in the
                     28:      same place as the original window.  Move the snapshot with
                     29:      your window manager if you want to compare the snapshot with
                     30:      the original window.
                     31: 
                     32:      As you move the cursor around in the snapshot, it will
                     33:      change color to reflect whatever pixel it is pointing at.
                     34: 
                     35:      If you click the middle mouse button, you will get a popup
                     36:      text window.  The prompt indicates the current color value
                     37:      in hexadecimal notation as described in _X(_1).  To change the
                     38:      color, simply type in a color name (or a color value in hex-
                     39:      adecimal notation), followed by carriage return.  Rubout and
                     40:      control-U can be used for editing.  To abort, simply click
                     41:      any mouse button in the popup, or type control-C or
                     42:      control-D.
                     43: 
                     44:      If you click the left mouse button, you will restore the
                     45:      color to its value in the original snapshot.
                     46: 
                     47:      If you click the right mouse button, you will get a popup
                     48:      mix window.  At the top are three squares with the red,
                     49:      green, and blue primaries, and at the bottom is the combined
                     50:      color and its hexadecimal notation.  Clicking the left but-
                     51:      ton in a primary decrements its value, and clicking the
                     52:      right button increments its value.  If you press the middle
                     53:      button in a primary and then move around, the vertical posi-
                     54:      tion of the mouse controls the value, with zero intensity at
                     55:      the top of the window, and full intensity at the bottom of
                     56:      the window; releasing the mouse button sets the final value.
                     57:      Clicking the right button in the combined color will exit
                     58:      the popup and change to the new color.  Clicking the middle
                     59:      button in the combined color will restore the values to
                     60: 
                     61: 
                     62: 
                     63: Printed 9/15/87         16 September 1985                      1
                     64: 
                     65: 
                     66: 
                     67: 
                     68: 
                     69: 
                     70: PIKAPIX(1)         UNIX Programmer's Manual           PIKAPIX(1)
                     71: 
                     72: 
                     73: 
                     74:      their current state in the snapshot.  Clicking the left but-
                     75:      ton in the combined color will restore the values to their
                     76:      state in the original snapshot.
                     77: 
                     78:      Typing control-C or control-D in the snapshot will terminate
                     79:      the program.
                     80: 
                     81:      By default, once the snapshot is created, it no longer
                     82:      depends on the existence of the original window, and the
                     83:      color in the snapshot will dynamically track the color in
                     84:      the popup mix window.  However, a potentially large number
                     85:      of color map entries may be required for this mode.  If not
                     86:      enough entries are available, the ``-s'' can be used.  When
                     87:      run with the ``-s'' option, the snapshot continues to depend
                     88:      on colors from the original window, new colors are shared
                     89:      when possible, and the snapshot is completely repainted
                     90:      after every change in color.
                     91: 
                     92: ENVIRONMENT
                     93:      DISPLAY   This program gets the display to use by default
                     94:      from this variable.
                     95: 
                     96: BUGS
                     97:      Redisplay is very slow on all but small windows.
                     98: 
                     99: AUTHOR
                    100:      Bob Scheifler, MIT Laboratory for Computer Science.
                    101:      Copyright (c) 1985, Massachusetts Institute of Technology
                    102: 
                    103: SEE ALSO
                    104:      X(1)
                    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: Printed 9/15/87         16 September 1985                      2
                    130: 
                    131: 
                    132: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.