Re: copy and paste between X11 and native apps
Re: copy and paste between X11 and native apps
- Subject: Re: copy and paste between X11 and native apps
- From: Rich Cook <email@hidden>
- Date: Thu, 7 Oct 2004 16:55:55 -0700
Here is what I always do and I believe it works 100% of the time.
1) select in X11 (xemacs, xterm, doesn't matter for this purpose)
2) Command-C copy to clipboard
3) Try to paste into Aqua.
4) If that doesn't work, select something in Aqua and copy it. Repeat
steps 1 -3. #3 will now work as expected.
Basically, it looks like access to the clipboard buffer of X11 gets
somehow blocked by certain applications (in particular, I notice this
happens with xemacs a lot), and then other apps cannot use it until
it's "cleared."
On Oct 7, 2004, at 4:50 PM, Young Hyun wrote:
The unreliability of copying and pasting between X11 and native (Aqua)
applications has been bugging me for a few months now, and I was
wondering
whether anyone knew of a good fix. I'm using quartz-wm and X11.app
v1.0.
Copying text from native applications and pasting into X11 applications
works flawlessly. However, copying from X11 apps and pasting into
native
apps is highly unreliable. In this latter direction, I mostly copy
from
xemacs into Terminal.app. (I typically work on several remote
machines at
once, so I run xemacs v21.4 p14 under FreeBSD 4.8, v21.4 p15 under
MacOS X
10.3.5, and v21.5 beta 9 under Solaris 2.6, and I have this problem
with
all these versions.)
The steps you would think should work are
1) select text in an xemacs window,
2) hit cmd-c, and
3) click in a Terminal.app window and hit cmd-v.
However, in the majority of cases, I end up getting the wrong text
pasted
into Terminal.app. Typically, the effect is as if the text was never
copied on the X11 side, so that whatever happened to be in the
pasteboard
gets pasted. I've tried hitting cmd-v multiple times before pasting,
just
to make sure it registered, but to no avail.
I've found a workaround that nearly always works, but this is a huge
pain,
considering that I often need to copy-and-paste dozens of times each
day.
The workaround for copying from X11 to Aqua is as follows:
1) select text in a *Terminal.app* window,
2) hit cmd-c,
3) hit cmd-v to paste into that Terminal.app window,
4) hit ctr-u to clear what you just pasted, and
5) follow the normal procedure for copying and pasting from X11 to
native apps.
Sometimes, I can get away with skipping steps 2-4; that is, just
initiating a copy operation from a native app is enough to ensure that
the
subsequent copy operation from an X11 app is picked up by quartz-wm.
Has anyone else run into this problem, and is there a real fix for it?
A day doesn't go by when I don't curse this bug.
--Young
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden