man-pages/man1/xclipboard.1.html
2021-03-31 01:06:50 +01:00

199 lines
5.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of XCLIPBOARD</TITLE>
</HEAD><BODY>
<H1>XCLIPBOARD</H1>
Section: User Commands (1)<BR>Updated: xclipboard 1.1.3<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
xclipboard - X clipboard client
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>xclipboard</B> [ <I>-toolkitoption</I> ... ] [ <B>-w</B> ]
[ <B>-nw</B> ]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The <I>xclipboard</I> program is used to collect and display text selections
that are sent to the CLIPBOARD by other clients. It is typically used to
save CLIPBOARD selections for later use. It stores each CLIPBOARD selection
as a separate string, each of which can be selected. Each time CLIPBOARD
is asserted by another application, <I>xclipboard</I> transfers the contents
of that selection to a new buffer and displays it in the text window.
Buffers are never automatically deleted, so you'll want to use the delete
button to get rid of useless items.
<P>
Since <I>xclipboard</I> uses a Text Widget to display the contents of the
clipboard, text sent to the CLIPBOARD may be re-selected for use in other
applications. <I>xclipboard</I> also responds to requests for the CLIPBOARD
selection from other clients by sending the entire contents of the currently
displayed buffer.
<P>
An <I>xclipboard</I> window has the following buttons across the top:
<DL COMPACT>
<DT id="1"><I>quit</I>
<DD>
When this button is pressed, <I>xclipboard</I> exits.
<DT id="2"><I>delete</I>
<DD>
When this button is pressed, the current buffer is deleted and the
next one displayed.
<DT id="3"><I>new</I>
<DD>
Creates a new buffer with no contents. Useful in constructing a new
CLIPBOARD selection by hand.
<DT id="4"><I>save</I>
<DD>
Displays a File Save dialog box.
Pressing the Accept button saves the currently
displayed buffer to the file specified in the text field.
<DT id="5"><I>next</I>
<DD>
Displays the next buffer in the list.
<DT id="6"><I>previous</I>
<DD>
Displays the previous buffer.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
The <I>xclipboard</I> program accepts all of the standard X Toolkit command
line options as well as the following:
<DL COMPACT>
<DT id="7"><B>-w</B>
<DD>
This option indicates that lines of text that are too long to be displayed on
one line in the clipboard should wrap around to the following lines.
<DT id="8"><B>-nw</B>
<DD>
This option indicates that long lines of text should not wrap around. This
is the default behavior.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>WIDGETS</H2>
In order to specify resources, it is useful to know the hierarchy of
the widgets which compose <I>xclipboard</I>. In the notation below,
indentation indicates hierarchical structure. The widget class name
is given first, followed by the widget instance name.
<P>
<PRE>
XClipboard xclipboard
Form form
Command Quit
Command delete
Command new
Command Save
Command next
Command prev
Label index
Text text
TransientShell fileDialogShell
Dialog fileDialog
Label label
Command accept
Command cancel
Text value
TransientShell failDialogShell
Dialog failDialog
Label label
Command continue
</PRE>
<P>
<A NAME="lbAG">&nbsp;</A>
<H2>SENDING/RETRIEVING CLIPBOARD CONTENTS</H2>
Text is copied to the clipboard whenever a client asserts ownership of the
<B>CLIPBOARD</B> selection. Text is copied from the clipboard whenever a
client requests the contents of the <B>CLIPBOARD</B> selection. Examples of
event bindings that a user may wish to include in a resource configuration
file to use the clipboard are:
<P>
<PRE>
*VT100.Translations: #override \
&lt;Btn3Up&gt;: select-end(CLIPBOARD) \n\
&lt;Btn2Up&gt;: insert-selection(PRIMARY,CLIPBOARD) \n\
&lt;Btn2Down&gt;: ignore ()
</PRE>
<P>
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?7+X">X</A>(7), <A HREF="/cgi-bin/man/man2html?1+xcutsel">xcutsel</A>(1), <A HREF="/cgi-bin/man/man2html?1+xterm">xterm</A>(1), individual client documentation for how to make a
selection and send it to the CLIPBOARD.
<A NAME="lbAI">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<P>
<DL COMPACT>
<DT id="9"><B>DISPLAY</B>
<DD>
to get the default host and display number.
<DT id="10"><B>XENVIRONMENT</B>
<DD>
to get the name of a resource file that overrides the global resources
stored in the RESOURCE_MANAGER property.
</DL>
<A NAME="lbAJ">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="11"><I>/etc/X11/app-defaults/XClipboard</I>
<DD>
specifies required resources
</DL>
<A NAME="lbAK">&nbsp;</A>
<H2>AUTHOR</H2>
Ralph R. Swick, DEC/MIT Project Athena
<BR>
Chris D. Peterson, MIT X Consortium
<BR>
Keith Packard, MIT X Consortium
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="12"><A HREF="#lbAB">NAME</A><DD>
<DT id="13"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="14"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="15"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="16"><A HREF="#lbAF">WIDGETS</A><DD>
<DT id="17"><A HREF="#lbAG">SENDING/RETRIEVING CLIPBOARD CONTENTS</A><DD>
<DT id="18"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="19"><A HREF="#lbAI">ENVIRONMENT</A><DD>
<DT id="20"><A HREF="#lbAJ">FILES</A><DD>
<DT id="21"><A HREF="#lbAK">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:30 GMT, March 31, 2021
</BODY>
</HTML>