Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy and paste between Aqua and X11 applications?



On 2007-07-17 14:47:45 -0700, Michael Reilly wrote:
> Select and paste has been a part of X11 since long before Apple ever
> had anything to do with it. For whatever reason Apple did not
> implement it properly when using X11 on OSX. Too bad.

In fact, you have 3 selection mechanisms under X11: cut buffers,
the primary selection, and the clipboard. Like under Mac OS X,
you usually need Ctrl-C, Ctrl-V, etc. to handle the clipboard
under X11. But the (obsolete but still used by xterm) cut buffers
and the primary selection are both handled by select and paste
with the middle button. So, users can use what they prefer.

BTW, I almost never use the clipboard: I find select and paste
with the middle button much more practical. Unfortunately, xterm
loses the primary selection too easily. The consequence is that
nothing is pasted in many applications and the cut buffer 0 is
pasted in some other applications (like xterm and emacs). See:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=277832

Apple X11 seems to use the primary selection mechanism for the
communication with Aqua, but as I don't use the X11 clipboard,
I'm not sure (there could be some fallback if the default buffer
is empty). Anyway, all these selection mechanisms may lead to
strange behaviors.

-- 
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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Rich Cook <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Michael Reilly <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.