xcutsel(1) X Version 11 (17 October 1988) xcutsel(1)
NAME
xcutsel - interchanges between cut buffer and selection
SYNOPSIS
xcutsel [-options ...]
DESCRIPTION
The xcutsel program copies the current selection into a cut
buffer and makes a selection containing the current cut
buffer contents. It acts as a bridge between applications
that do not support selections and those that do.
By default, xcutsel uses the selection named PRIMARY and the
cut buffer CUT_BUFFER0. You can override either or both of
these by command-line arguments or resources.
The xcutsel window has the following buttons:
quit
When you press this button, xcutsel exits. Any
selections held by xcutsel are automatically released.
copy PRIMARY to 0
When you press this button, xcutsel copies the current
selection into the cut buffer.
copy 0 to PRIMARY
When you press this button, xcutsel converts the
current contents of the cut buffer into the selection.
The button labels reflect the selection and cut buffer
selected by command-line options or through the resource
database.
When you activate the "copy 0 to PRIMARY" button, the button
remains inverted as long as xcutsel remains the owner of the
selection. This serves to remind you which client owns the
current selection. Note that the value of the selection
remains constant; if the cut buffer is changed, you must
again activate the copy button to retrieve the new value.
OPTIONS
xcutsel accepts all of the standard X Toolkit command line
options as well as the following:
-selection name
Specifies the name of the selection to use. The
default is PRIMARY. The only supported abbreviations
for this option are: -select, -sel and -s, to avoid
being confused with the standard toolkit option
-selectionTimeout.
Page 1 (printed 10/4/89)
xcutsel(1) X Version 11 (17 October 1988) xcutsel(1)
-cutbuffer number (0-7)
Specifies the cut buffer. The default is cut buffer 0.
X DEFAULTS
This program accepts all of the standard X Toolkit resource
names and classes as well as the following:
selection (class Selection)
Specifies the name of the selection. The default is
PRIMARY.
cutBuffer (class CutBuffer)
Specifies the number of the cut buffer. The default is
0.
WIDGET NAMES
You can use the following instance names when you want to
configure the labels in them:
sel-cut (class Command)
This is the copy SELECTION to BUFFER button.
cut-sel (class Command)
This is the copy BUFFER to SELECTION button.
quit (class Command)
This is the quit button.
LIMITATIONS
You cannot change the name of the selection or the number of
the cut buffer while you are running the program.
SEE ALSO
X(1)
xclipboard(1)
xterm(1)
Text widget documentation
Individual client documentation for making a selection.
COPYRIGHT
Copyright 1988, Massachusetts Institute of Technology
See X(1) for a full statement of rights and permissions.
AUTHOR
Ralph R. Swick, DEC/MIT Project Athena.
Page 2 (printed 10/4/89)