home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXGGGGRRRRAAAABBBB((((1111XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXGGGGRRRRAAAABBBB((((1111XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- xgrab - interactive front for xgrabsc, an X-Windows image
- grabber
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _x_g_r_a_b
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _x_g_r_a_b lets you grab arbitrary rectangular images from an X
- server and writes them to files or commands (such as lpr) in
- a variety of formats.
-
- _x_g_r_a_b is a front for the xgrabsc program. Read the man page
- for _x_g_r_a_b_s_c for a description of the options presented by
- xgrab.
-
- After selecting options from the various categories
- presented, press the _O_K button to have xgrab run xgrabsc to
- let you grab an image from the screen. After you press _O_K,
- xgrab's window will disappear and xgrabsc will gain control
- until the grabbing process is finished. Afterwards, the
- xgrab window will reappear.
-
-
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- Xgrab responds to the standard application options, such as
- -_d_i_s_p_l_a_y. See the man page for _X for a complete list.
-
- You can also override the default xgrab settings in your
- .Xdefaults. See the examples section below for
- instructions.
-
-
-
- RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
- The XGrab resource file, XGrab.ad, contains a complete
- specification of the resources of all the widgets used in
- the xgrab window. Global resources, such as default font
- and color, are at the bottom of the file.
-
-
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- The _T_o _C_o_m_m_a_n_d output option may be used to pipe xgrabsc
- output to programs. The most common commands are _l_p_r for
- Postscript output, and _x_w_u_d for X-Window Dump output.
- Programs that do not accept piped input should not be used
- in _T_o _C_o_m_m_a_n_d.
-
- You can also get fancy and pipe the output through more than
- one command, such as _t_e_e _s_c_r_e_e_n._d_m_p | _x_w_u_d, to store the
-
-
-
- Page 1 (printed 3/9/94)
-
-
-
-
-
-
- XXXXGGGGRRRRAAAABBBB((((1111XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXGGGGRRRRAAAABBBB((((1111XXXX))))
-
-
-
- grabbed image and get a preview window.
-
-
- Default settings for xgrab can be made in your .Xdefaults
- file. For the Athena toolkit version of xgrab, Toggle
- buttons can be set/unset through their ._s_t_a_t_e attribute, and
- text field strings can be set through their *_s_t_r_i_n_g
- attribute. For the Motif toolkit version (which has
- diamond-shaped buttons for radio buttons), toggle buttons
- can be set/unset through their ._s_e_t attribute and text field
- strings can be set through their *_v_a_l_u_e attribute.
-
- For example, to set the default paper size for postscript
- output, put these lines in your .Xdefaults (and use xrdb to
- load them into the server!):
-
- XGrab*.pageWidthText*string: 8.5
- XGrab*.pageHeightText*string: 11.0
-
- or
-
- XGrab*.pageWidthText*value: 8.5
- XGrab*.pageHeightText*value: 10.0
-
- To set the default output type to _X_W_D, put these lines in
- your .Xdefaults:
-
- XGrab*.ps.state: 0
- XGrab*.xwd.state: 1
-
-
-
- LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
- See the limitations listed in the xgrabsc man page.
-
-
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Bruce Schuchardt
- Servio Corporation
- bruce@slc.com
-
-
-
- AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEGGGGEEEEMMMMEEEENNNNTTTTSSSS
- See the xgrabsc man page, and the Acks file in the xgrabsc
- distribution for a list of acknowledgements.
-
-
-
- CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
- Copyright (c) 1991-93 Bruce Schuchardt
-
-
-
- Page 2 (printed 3/9/94)
-
-
-
-
-
-
- XXXXGGGGRRRRAAAABBBB((((1111XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXGGGGRRRRAAAABBBB((((1111XXXX))))
-
-
-
- _X_g_r_a_b is copywritten material with a very loose copyright
- allowing unlimited modification and distribution if the
- copyright notices are left intact. Various portions are
- copywritten by various people, but all use a modification of
- the MIT copyright notice. Please check the source for
- complete copyright information. The intent is to keep the
- source free, not to stifle its distribution, so please write
- to me if you have any questions.
-
- THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
- SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE
- LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
- ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
- THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- X(1X), xgrabsc(1X), xhost(1), xwd(1X), xwud(1X),
- xloadimage(1X), xpm(1X), xpr(1X), ad2c(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 3 (printed 3/9/94)
-
-
-
-