selections.rst
changeset 139 35727a17a437
equal deleted inserted replaced
138:f4984a7e10bc 139:35727a17a437
       
     1 -*- mode: outline; coding: utf-8 -*-
       
     2 
       
     3 * MS Windows.
       
     4 
       
     5 * X Windows.
       
     6 
       
     7 X11 selection transfers (which both PRIMARY and CLIPBOARD are instances of)
       
     8 are done through synthesized X11 events and properties changes.
       
     9 
       
    10 The messages used to transfer the selections have a maximum size that's
       
    11 actually quite low (a few kilobytes).
       
    12 
       
    13 See
       
    14 
       
    15   http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt
       
    16   http://www.jwz.org/doc/x-cut-and-paste.html
       
    17   http://en.wikipedia.org/wiki/X_Window_selection
       
    18   http://www.emacswiki.org/cgi-bin/wiki/CopyAndPaste
       
    19 
       
    20 ** xclipboard.
       
    21 
       
    22 The xclipboard command emulates the traditional Macintosh style clipboard by
       
    23 claiming ownership of the CLIPBOARD selection and answering any requests for
       
    24 its value. When it loses the selection, it immediately asks the new owner for
       
    25 the value of the CLIPBOARD selection, makes a local copy, and then reasserts
       
    26 ownership of the CLIPBOARD. This way the clipboard contents can persist after
       
    27 the original application has exited.
       
    28