XCLIPBOARD(1) BSD XCLIPBOARD(1)
NAME
xclipboard - X clipboard client
SYNOPSIS
xclipboard [ -toolkitoption ...] [-w] [-nw]
DESCRIPTION
The xclipboard program is used to collect and display text selections
that are sent to the CLIP_BOARD by other clients. It is typically used
to gather together and hold a block of text that has been selected from a
variety of different places.
Since xclipboard uses a Text Widget to display the contents of the
clipboard, text sent to the CLIP_BOARD may be re-selected for use in
other applications.
An xclipboard window has the following buttons across the top:
quit
When this button is pressed, xclipboard exits.
erase
When this button is pressed, the contents of the text window are
erased.
OPTIONS
The xclipboard program accepts all of the standard X Toolkit command line
options as well as the following:
-w 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.
-nw This option indicates that long lines of text should not wrap
around.
SENDING TO CLIPBOARD
Text is copied to the clipboard whenever a client asserts ownership of
the CLIP_BOARD selection. Examples of event bindings that a user may
wish to include in his/her resource configuration file to use the
clipboard are:
*VT100.Translations: #override \
Button1 <Btn2Down>: select-end(CLIPBOARD) \n\
Button1 <Btn2Up>: ignore()
*Text.Translations: #override \
Button1 <Btn2Down>: extend-end(CLIPBOARD)
X DEFAULTS
This program accepts all of the standard X Toolkit resource names and
classes as well as:
wordWrap (class WordWrap)
This resource specifies whether or not lines of text should wrap
around to the following lines. The default is no.
SEE ALSO
X(1), xcutsel(1), xterm(1), individual client documentation for how to
make a selection and send it to the CLIP_BOARD.
BUGS
The erase button is not yet implemented.
It would be nice to have a way of specifying the file in which the
clipboard contents are saved.
FILES
/usr/lib/X11/app-defaults/XClipboard - specifies required resources
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