1XCUTSEL(1)                  General Commands Manual                 XCUTSEL(1)
2
3
4

NAME

6       xcutsel - interchange between cut buffer and selection
7

SYNOPSIS

9       xcutsel  [  -toolkitoption ...] [-selection selection] [-cutbuffer num‐
10       ber]
11

DESCRIPTION

13       The xcutsel program is used to copy the current selection  into  a  cut
14       buffer  and  to  make a selection that contains the current contents of
15       the cut buffer.  It acts as a bridge between  applications  that  don't
16       support selections and those that do.
17
18       By  default,  xcutsel  will use the selection named PRIMARY and the cut
19       buffer CUT_BUFFER0.  Either or both of these can be overridden by  com‐
20       mand line arguments or by resources.
21
22       An xcutsel window has the following buttons:
23
24           quit
25               When  this  button  is  pressed, xcutsel exits.  Any selections
26               held by xcutsel are automatically released.
27
28           copy PRIMARY to 0
29               When this button is pressed, xcutsel copies the current  selec‐
30               tion into the cut buffer.
31
32           copy 0 to PRIMARY
33               When  this button is pressed, xcutsel converts the current con‐
34               tents of the cut buffer into the selection.
35
36       The button labels reflect the selection and cutbuffer selected by  com‐
37       mand line options or through the resource database.
38
39       When  the  ``copy  0  to PRIMARY'' button is activated, the button will
40       remain inverted as long as xcutsel remains the owner of the  selection.
41       This  serves  to  remind  you  which client owns the current selection.
42       Note that the value of the selection remains constant; if the cutbuffer
43       is changed, you must again activate the copy button to retrieve the new
44       value when desired.
45

OPTIONS

47       Xcutsel accepts all of the standard X Toolkit command line  options  as
48       well as the following:
49
50       -selection name
51               This  option  specifies  the name of the selection to use.  The
52               default is PRIMARY.  The only supported abbreviations for  this
53               option  are  ``-select'',  ``-sel'' and ``-s'', as the standard
54               toolkit option ``-selectionTimeout'' has a similar name.
55
56       -cutbuffer number
57               This option specifies the cut buffer to use.   The  default  is
58               cut buffer 0.
59

X DEFAULTS

61       This  program  accepts all of the standard X Toolkit resource names and
62       classes as well as:
63
64       selection (class Selection)
65               This resource specifies the name of the selection to use.   The
66               default is PRIMARY.
67
68       cutBuffer (class CutBuffer)
69               This  resource  specifies  the number of the cut buffer to use.
70               The default is 0.
71

WIDGET NAMES

73       The following instance names may be used when user configuration of the
74       labels in them is desired:
75
76       sel-cut (class Command)
77               This is the ``copy SELECTION to BUFFER'' button.
78
79       cut-sel (class Command)
80               This is the ``copy BUFFER to SELECTION'' button.
81
82       quit (class Command)
83               This is the ``quit'' button.
84

SEE ALSO

86       X(7),  xclipboard(1),  xterm(1),  text widget documentation, individual
87       client documentation for how to make a selection.
88

BUGS

90       There is no way to change the name of the selection or  the  number  of
91       the cut buffer while the program is running.
92

AUTHOR

94       Ralph R. Swick, DEC/MIT Project Athena
95
96
97
98X Version 11                   xclipboard 1.1.2                     XCUTSEL(1)
Impressum