


XCLIPBOARD(1)					    XCLIPBOARD(1)


NNAAMMEE
       xclipboard - X clipboard client

SSYYNNOOPPSSIISS
       xxcclliippbbooaarrdd [ _-_t_o_o_l_k_i_t_o_p_t_i_o_n ... ] [ --ww ] [ --nnww ]

DDEESSCCRRIIPPTTIIOONN
       The _x_c_l_i_p_b_o_a_r_d 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 selec-
       tions 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,  _x_c_l_i_p_-
       _b_o_a_r_d  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.

       Since _x_c_l_i_p_b_o_a_r_d uses a Text Widget to  display	the  con-
       tents  of the clipboard, text sent to the CLIPBOARD may be
       re-selected for use  in	other  applications.   _x_c_l_i_p_b_o_a_r_d
       also responds to requests for the CLIPBOARD selection from
       other clients by sending the entire contents of	the  cur-
       rently displayed buffer.

       An  _x_c_l_i_p_b_o_a_r_d window has the following buttons across the
       top:

       _q_u_i_t    When this button is pressed, _x_c_l_i_p_b_o_a_r_d exits.

       _d_e_l_e_t_e  When this button is pressed, the current buffer is
	       deleted and the next one displayed.

       _n_e_w     Creates	a new buffer with no contents.	Useful in
	       constructing a new CLIPBOARD selection by hand.

       _s_a_v_e    Displays a File Save  dialog  box.   Pressing  the
	       Accept button saves the currently displayed buffer
	       to the file specified in the text field.

       _n_e_x_t    Displays the next buffer in the list.

       _p_r_e_v_i_o_u_s
	       Displays the previous buffer.

OOPPTTIIOONNSS
       The _x_c_l_i_p_b_o_a_r_d program  accepts	all  of	 the  standard	X
       Toolkit command line options as well as the following:

       --ww      This  option indicates that lines of text that are
	       too long to be displayed on one line in the  clip-
	       board should wrap around to the following lines.

       --nnww     This  option  indicates	that  long  lines of text



X Version 11		    Release 6				1





XCLIPBOARD(1)					    XCLIPBOARD(1)


	       should not  wrap	 around.   This	 is  the  default
	       behavior.

WWIIDDGGEETTSS
       In  order  to  specify resources, it is useful to know the
       hierarchy of the widgets which compose _x_c_l_i_p_b_o_a_r_d.  In the
       notation	 below, indentation indicates hierarchical struc-
       ture.  The widget class name is given first,  followed  by
       the widget instance name.

       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


SSEENNDDIINNGG//RREETTRRIIEEVVIINNGG CCLLIIPPBBOOAARRDD CCOONNTTEENNTTSS
       Text  is copied to the clipboard whenever a client asserts
       ownership of the CCLLIIPPBBOOAARRDD selection.  Text is copied from
       the  clipboard  whenever a client requests the contents of
       the CCLLIIPPBBOOAARRDD selection.	 Examples of event bindings  that
       a  user	may  wish  to include in a resource configuration
       file to use the clipboard are:

       *VT100.Translations: #override \
	    <Btn3Up>:		     select-end(CLIPBOARD) \n\
	    <Btn2Up>:		     insert-selection(PRIMARY,CLIPBOARD) \n\
	    <Btn2Down>:		     ignore ()



SSEEEE AALLSSOO
       X(1), xcutsel(1), xterm(1), individual  client  documenta-
       tion  for how to make a selection and send it to the CLIP-
       BOARD.

EENNVVIIRROONNMMEENNTT
       DDIISSPPLLAAYY to get the default host and display number.



X Version 11		    Release 6				2





XCLIPBOARD(1)					    XCLIPBOARD(1)


       XXEENNVVIIRROONNMMEENNTT
	       to get the name of a resource file that	overrides
	       the     global	 resources    stored	in    the
	       RESOURCE_MANAGER property.

FFIILLEESS
       <XRoot>/lib/X11/app-defaults/XClipboard	  -	specifies
       required resources

AAUUTTHHOORR
       Ralph R. Swick, DEC/MIT Project Athena
       Chris D. Peterson, MIT X Consortium
       Keith Packard, MIT X Consortium












































X Version 11		    Release 6				3


