xv_get_sel(1)
NAME
xv_get_sel − copy the content of a selection to the standard output
SYNOPSIS
xv_get_sel [ rank ] [ -t seconds ] [ D ]
DESCRIPTION
xv_get_sel prints the contents of the indicated selection on standard out. A selection is a collection of objects (for instance, characters) selected with the mouse in the OpenWindow window system.
OPTIONS
rank Indicate which selection is to be printed:
1- primary;
2- secondary;
3- clipboard.
The default is primary.
seconds
Indicate how many seconds to wait for the holder of a selection to respond to a request before giving up. The default is six seconds.
-D Debugging. Inquire through a special debugging service for the selection, rather than accessing the standard service. Useful only for debugging window applications which are clients of the selection library.
EXAMPLES
The following line prints the primary selection on the user’s default printer:
sh -c xv_get_sel | lp
SEE ALSO
OpenWindows documentation
Sun Microsystems — Last change: 17 March 1992