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?



Interesting. You have said that, my apologies. So you are saying there are times when you select something in an X-term, hit command- C, then go to another app and hit command-V and it does not work? Amazing. I work with literally dozens of xterms at a time in multiple virtual desktops and copy and paste all day long and never have a problem. Lucky me, eh?
I used to have a problem, but once I closely watched what I was doing it became apparent to me I wasn't quite following the obvious select, copy, paste sequence. Next time it happens, maybe look to see if your selection in xterm is still active when it fails. I'll be it is not. The thing that causes the selection to become inactive is the real problem.


For example, select some text in xterm. Now hit command-C. Now click elsewhere in the xterm window to deselect the original text. Now try to paste into somewhere. It won't work. The text has to remain selected. Is that the problem?

On Jul 18, 2007, at 11:41 AM, Adam D. I. Kramer wrote:

Sorry to be repetitive, but since the beginning of the thread I've been
saying that this problem is inconsistent and I cannot specify when it does
and doesn't happen. :) See the last paragraph in the message you quoted.
It's frustrating to me as well, and I'd probably make a lot more progress
towards solving it if I could.


What I do know, though, is that the problem occurs when xterm is the only
X app running, and I don't believe xterm steals selections. Also, pasting
between xterms (using the X-only clipboard and middle-click) works
flawlessly...so it's unlikely similar to your bug.


--Adam

On Wed, 18 Jul 2007, Rich Cook wrote:

Sorry to be repetitive, but can you describe an exact sequence of actions
so that I can reproduce it here? When I select something in X11, hit
command-C, then go to an Aqua app and hit command-V, it works fine. Every
time. Unless my mouse passes over totalview as I mentioned, which seems
to steal the selection (and which affects X11 as well as a consequence,
not just the Mac clipboard, so it's an X11 problem, not an Apple bug
aFAICT). :-)


On Jul 17, 2007, at 2:55 PM, Adam D. I. Kramer wrote:

On Tue, 17 Jul 2007, Rich Cook wrote:
There has to be a reason it works for me without fail and for you only occasionally.
Agreed. I'm glad not everyone has the problem for exactly that reason.
There's hope!
One sneaky thing I've seen with X11 is that sometimes there is an
application that "steals" the clipboard as you pass your mouse over it. It can then paste emptiness into it. I forget what the application was
that was doing this. Might have been the Totalview debugger, in fact I'm
pretty sure it was.
Well, I'm usually just running 3 or 4 xterms. Usually, the program running
is ssh into another box, in which screen -x is called; inside the screen, I
mostly run things like pine and naim.
Open only an xterm, nothing else. Try copying text in it, then hit
command-C then paste into like Mail.app or whatever. If that doesn't
work, you've found yourself a serious bug that you should report to
https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa. If it does
work, then try launching your usual environment in X11, with all windows
showing. If that breaks it, you have a clue.
My usual environment is 4 xterms. Teh problem is that successful copying is
NOT an indication that "things work," because I can occasionally
successfully copy--I just can't explain or discern why I can't when I am
unable to. Indeed, if I go back into the x11 window and try again, sometimes
it works...
--Adam

--
Richard Cook
Lawrence Livermore National Laboratory
Bldg-453 Rm-4037, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
(office) (925) 423-9605
(fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)

--
✐The primary task of most software projects is to discover and resolve these unknowns rather than to build a system. -- Philip G. Armour
--
Richard Cook
βœ‡ Lawrence Livermore National Laboratory
Bldg-453 Rm-4037, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)


_______________________________________________
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: 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: Rich Cook <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <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.