copy and paste between X11 and native apps
copy and paste between X11 and native apps
- Subject: copy and paste between X11 and native apps
- From: Young Hyun <email@hidden>
- Date: Thu, 7 Oct 2004 16:50:45 -0700 (PDT)
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)
This email sent to email@hidden