|
NAMExsel - manipulate the X selection.SYNOPSISxsel [OPTION]...DESCRIPTIONRetrieve and set the X selection.The X server maintains three selections, called PRIMARY, SECONDARY and CLIPBOARD. The PRIMARY selection is conventionally used to implement copying and pasting via the middle mouse button. The SECONDARY and CLIPBOARD selections are less frequently used by application programs. This program operates on the PRIMARY selection unless otherwise specified. By default, this program outputs the selection without modification if both standard input and standard output are terminals (ttys). Otherwise, the current selection is output if standard output is not a terminal (tty), and the selection is set from standard input if standard input is not a terminal (tty). If any input or output options are given then the program behaves only in the requested mode. If both input and output is required then the previous selection is output before being replaced by the contents of standard input. Input options
Output options
Action options
Selection options
X options
Miscellaneous options
NOTESThere is no X selection buffer. The selection mechanism in X11 is an interclient communication mediated by the X server each time any program wishes to know the selection contents, eg. to perform a middle mouse button paste. In order to implement modification of the selection(s) (in input, keep and exchange modes) this program detaches from the terminal, spawning a child process to supply the new selection(s) on demand. This child exits immediately when any other program takes over the selection(s), eg. when the user next selects some text in a terminal window or by running xsel -c.STANDARDSxsel conforms to the Inter-Client Communication Conventions Manual Version 2.0 (ICCCM2).SEE ALSOX(7), Xserver(1), xset(1), xclipboard(1), xpaste(1)AUTHORConrad Parker <conrad@vergenet.net>, July 2001
Visit the GSP FreeBSD Man Page Interface. |