Re: copy and paste between Aqua and X11 applications?
Re: copy and paste between Aqua and X11 applications?
- Subject: Re: copy and paste between Aqua and X11 applications?
- From: Vincent Lefevre <email@hidden>
- Date: Thu, 9 Aug 2007 23:24:45 +0200
- Mail-followup-to: email@hidden
On 2007-08-09 10:07:36 -0700, Rich Cook wrote:
> Wow, so to be clear, if you select text in X11,
This isn't really clear. You need to say which X11 application,
because unlike Mac OS X applications, each X11 application has its
own way to deal with selections (and sometimes, like in xterm, the
behavior is configurable).
> use Cmd-C, then deselect the text by clicking somewhere else in X11,
If the text has been selected in xterm, clicking somewhere else in X11
deselects the text[*], but for other X11 applications, the text remains
selected.
[*] I suppose this is the same xterm bug I've reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=277832
Indeed, if you type "screen" in the xterm (then Ctrl-D to quit screen)
instead of clicking somewhere else in X11, you'll get the same problem.
> then paste into say, Mail.app, it works fine for you? Try it and
> see. It should fail.
I now see the same problem. This is strange, because I'm quite sure
that this was working differently in the past.
More precisely (I've done the test with xterm and a GTK application):
* Select something in the X11 application.
* Type Cmd-C.
* Select something else in the same X11 application or another one.
* Paste in Mac OS X.
The result is that the second selection is pasted.
It seems that Cmd-C in X11 doesn't copy anything: it just says "I own
the clipboard" (but X11 checks that something is selected, otherwise
it beeps). Then, when pasting in Mac OS X for the first time after the
Cmd-C, X11 copies the selection from the current PRIMARY selection
(which may have changed since the Cmd-C).
Note: X Window also has a clipboard, which is different from the
PRIMARY selection, and which you can use with Cut/Copy/Paste menu
items (or keyboard shortcuts Ctrl-X/C/V). But X11.app doesn't seem
to use it at all (though it is much more similar to the Mac OS X
clipboard than the PRIMARY selection is). Apple should probably
make that configurable. As for me, I prefer the PRIMARY selection,
but some users may prefer the clipboard.
--
Vincent Lefèvre <email@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden