.TH xv_get_sel 1 "12 May 1991" .SH NAME xv_get_sel \- copy the content of a selection to the standard output .SH SYNOPSIS .B xv_get_sel [ .B \-rank ] [ .B \-t seconds ] [ .B \-D ] .SH DESCRIPTION .IX "_1st_index_term_" "_2nd_index_term_" "_format_of_1st_" "_format_of_2nd_" .LP 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. .SH OPTIONS .TP .B \-rank Indicate which selection is to be printed: .TP 1- primary; .TP 2- secondary; .TP 3- clipboard. .sp The default is primary. .sp .TP .BI \-t " second " Indicate how many seconds to wait for the holder of a selection to respond to a request before giving up. The default is 6 seconds. .TP .B \-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. .SH EXAMPLES The following line prints the primary selection on the user's default printer: .LP sh -c xv_get_sel | lpr .LP .SH "SEE ALSO" .I "OpenWindows User's Guide"