author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 22 Feb 2016 12:41:52 +0200 | |
changeset 1903 | 901e7394849f |
parent 1894 | 2e3bc2435d68 |
child 1905 | fba288d59662 |
permissions | -rw-r--r-- |
1894
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
2 |
.. include:: HEADER.rst |
139 | 3 |
|
1894
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
4 |
===================== |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
5 |
Clipboard/selection |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
6 |
===================== |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
7 |
.. contents:: |
139 | 8 |
|
1894
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
9 |
MS Windows |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
10 |
========== |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
11 |
|
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
12 |
X Windows |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
13 |
========= |
139 | 14 |
|
15 |
X11 selection transfers (which both PRIMARY and CLIPBOARD are instances of) |
|
16 |
are done through synthesized X11 events and properties changes. |
|
17 |
||
18 |
The messages used to transfer the selections have a maximum size that's |
|
19 |
actually quite low (a few kilobytes). |
|
20 |
||
21 |
See |
|
22 |
||
23 |
http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt |
|
24 |
http://www.jwz.org/doc/x-cut-and-paste.html |
|
25 |
http://en.wikipedia.org/wiki/X_Window_selection |
|
26 |
http://www.emacswiki.org/cgi-bin/wiki/CopyAndPaste |
|
27 |
||
1894
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
28 |
xclipboard |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
139
diff
changeset
|
29 |
========== |
139 | 30 |
|
31 |
The xclipboard command emulates the traditional Macintosh style clipboard by |
|
32 |
claiming ownership of the CLIPBOARD selection and answering any requests for |
|
33 |
its value. When it loses the selection, it immediately asks the new owner for |
|
34 |
the value of the CLIPBOARD selection, makes a local copy, and then reasserts |
|
35 |
ownership of the CLIPBOARD. This way the clipboard contents can persist after |
|
36 |
the original application has exited. |
|
37 |