Debian Codegraph @

upstream/debian-unstable/man1/xcutsel.1

raw
1 .\" Copyright 1994, 1998 The Open Group
2 .\"
3 .\" Permission to use, copy, modify, distribute, and sell this software and its
4 .\" documentation for any purpose is hereby granted without fee, provided that
5 .\" the above copyright notice appear in all copies and that both that
6 .\" copyright notice and this permission notice appear in supporting
7 .\" documentation.
8 .\"
9 .\" The above copyright notice and this permission notice shall be included
10 .\" in all copies or substantial portions of the Software.
11 .\"
12 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
13 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
15 .\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
16 .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
17 .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
18 .\" OTHER DEALINGS IN THE SOFTWARE.
19 .\"
20 .\" Except as contained in this notice, the name of The Open Group shall
21 .\" not be used in advertising or otherwise to promote the sale, use or
22 .\" other dealings in this Software without prior written authorization
23 .\" from The Open Group.
24 .\"
25 .\"
26 .TH XCUTSEL 1 "xclipboard 1.1.4" "X Version 11"
27 .SH NAME
28 xcutsel - interchange between cut buffer and selection
29 .SH SYNOPSIS
30 \fBxcutsel\fP [ \fI-toolkitoption\fP ...] [-selection \fIselection\fP] [-cutbuffer \fInumber\fP]
31 .SH DESCRIPTION
32 The \fIxcutsel\fP program is used to copy the current selection into a
33 cut buffer and to make a selection that contains the current contents of
34 the cut buffer. It acts as a bridge between applications that don't support
35 selections and those that do.
36 .PP
37 By default, \fIxcutsel\fP will use the selection named PRIMARY and the cut
38 buffer CUT_BUFFER0. Either or both of these can be overridden by command
39 line arguments or by resources.
40 .PP
41 An \fIxcutsel\fP window has the following buttons:
42 .TP 8
43 .I " quit"
44 When this button is pressed, \fIxcutsel\fP exits. Any selections held by
45 \fIxcutsel\fP are automatically released.
46 .TP 8
47 .I " copy PRIMARY to 0"
48 When this button is pressed, \fIxcutsel\fP copies the current selection into
49 the cut buffer.
50 .TP 8
51 .I " copy 0 to PRIMARY"
52 When this button is pressed, \fIxcutsel\fP converts the current contents of
53 the cut buffer into the selection.
54 .PP
55 The button labels reflect the selection and cutbuffer selected by
56 command line options or through the resource database.
57 .PP
58 When the ``copy 0 to PRIMARY'' button is activated, the button will
59 remain inverted as long as \fIxcutsel\fP remains the owner of the
60 selection. This serves to remind you which client owns the current
61 selection. Note that the value of the selection remains constant;
62 if the cutbuffer is changed, you must again activate the copy button
63 to retrieve the new value when desired.
64 .SH OPTIONS
65 .I Xcutsel
66 accepts all of the standard X Toolkit command line options as well as the
67 following:
68 .TP 8
69 .B \-selection \fIname\fP
70 This option specifies the name of the selection to use. The default is
71 PRIMARY. The only supported abbreviations for this option are ``-select'',
72 ``-sel'' and ``-s'', as the standard toolkit option ``-selectionTimeout'' has a
73 similar name.
74 .TP 8
75 .B \-cutbuffer \fInumber\fP
76 This option specifies the cut buffer to use. The default is cut buffer 0.
77 .SH X DEFAULTS
78 This program accepts all of the standard X Toolkit resource names and classes
79 as well as:
80 .TP 8
81 .B "selection (\fPclass\fB Selection)"
82 This resource specifies the name of the selection to use. The default is
83 PRIMARY.
84 .TP 8
85 .B "cutBuffer (\fPclass\fB CutBuffer)"
86 This resource specifies the number of the cut buffer to use. The default is 0.
87 .SH WIDGET NAMES
88 The following instance names may be used when user configuration of the
89 labels in them is desired:
90 .TP 8
91 .B "sel-cut (\fPclass\fB Command)"
92 This is the ``copy SELECTION to BUFFER'' button.
93 .TP 8
94 .B "cut-sel (\fPclass\fB Command)"
95 This is the ``copy BUFFER to SELECTION'' button.
96 .TP 8
97 .B "quit (\fPclass\fB Command)"
98 This is the ``quit'' button.
99 .SH "SEE ALSO"
100 X(7), xclipboard(1), xterm(1), text widget documentation, individual client
101 documentation for how to make a selection.
102 .SH BUGS
103 There is no way to change the name of the selection or the number of the
104 cut buffer while the program is running.
105 .SH AUTHOR
106 Ralph R. Swick, DEC/MIT Project Athena