Re: Back to copy/paste.
Re: Back to copy/paste.
- Subject: Re: Back to copy/paste.
- From: Merle Reinhart <email@hidden>
- Date: Fri, 18 Apr 2008 07:20:39 -0400
Interesting that we are seeing very different things. Probably
because the X11 world isn't consistent with itself, so it may depend
upon which X11 apps we use and in which order.
On Apr 18, 2008, at 12:39 AM, Harald Hanche-Olsen wrote:
+ Merle Reinhart <email@hidden>:
[ Edited to undo top posting ]
On Apr 17, 2008, at 6:43 PM, Harald Hanche-Olsen wrote:
- However, if you have EVER used Edit -> Copy in X11, this action
will
no longer happen (until you quit and restart X11).
Huh? I have NEVER seen that problem since possibly as long ago as
the Panther days (or at least the early Tiger days).
But it is definitely what I am seeing in my experiments.
This is with a plain vanilla X11 (ie, no autocutsel, etc)...at this
point in time it is Xquartz 2.2.0.1 on Leopard 10.5.2.
Same here, except I am still at 2.2.0 (I am the only user on my
machine, so am not overly concerned over a local privilege
escalation).
For me, the only way to paste something into say TextEdit on the OS
X side from an X11 selection is to use Edit -> Copy in X11.
Otherwise, it is never copied into the OS X pasteboard.
For the PRIMARY selection this is so for me too, but for the CLIPBOARD
selection it just works, until I touch X11 -> Edit -> Copy.
For all the X11 apps I use, I'm not sure any use the CLIPBOARD (I
don't use emacs or xemacs). The only place I've seen anything
approaching this was under Tiger with a Java app running on a Solaris
machine with the X11 display sent back to my Mac. In that case, I had
to use xcutsel to synchronize the X11 PRIMARY and CLIPBOARD before I
could paste a select from a X11 window into the Java X11 display. The
OS X side wasn't even involved.
I like this because then X11 (when copying text from X11 to OS X)
behaves just like all other OS X apps (ie, you have to Edit -> Copy
in one app before you can Edit -> Paste into another app).
You may like it, but I dislike it intensely, because I use the Command
key in X11 as Meta, so I have to use the menu in order to copy, with
no keyboard shortcut available.
X11 is the odd-man-out in that you have to middle-click to paste
into an X11 window (ie, Edit -> Paste doesn't work).
There used to be (maybe there still is) a movement in the X11 world
towards using the clipboard selection for interprocess cut and paste,
using copy/paste in the individual X11 applications. If all your X11
applications have copy and paste working in this way, you can use
those, and eschew the X11 -> Edit -> Copy item, and everything should
work just fine, if my experiments are anything to go by.
I agree with you as far as cut/paste from X11 app to X11 app.
However, I was thinking this thread was about cut/paste back and forth
between the OS X side and the X11 side (my bad if I missed the intent
of the originator's discussion). In that case Edit -> Copy/Paste IS
involved (but not between just X11 apps which I think is fine).
Unfortunately, things aren't so rosy. Xterm is particularly tricky: I
can manage to get xterm to paste the clipboard by a suitable X
resource, but I have not managed to figure out how to copy text from
an xterm to the clipboard.
Maybe I'm not having some of the issues you see because I don't use
xterm. I use Terminal so I wind up with a lot of cutting/pasting back
and forth between OS X and X11 (and it all just works for me with the
exception of a few very annoying oddities X11 to X11...I need to
verify if they still occur under the X.org version).
- Harald
Merle
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden