[MacPorts] #6495: BUG: "Can't set selection" error in emacs when emacs started from remote shell
MacPorts
noreply at macports.org
Wed Jan 20 11:55:14 PST 2010
#6495: BUG: "Can't set selection" error in emacs when emacs started from remote
shell
----------------------------------------+-----------------------------------
Reporter: vincent-opdarw@… | Owner: darren.bane@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: emacs |
----------------------------------------+-----------------------------------
Comment(by dports@…):
Replying to [comment:14 vinc17@…]:
> Also, the last comment is a bit incorrect, at least under 10.4: if
screen is started in iTerm, for instance, then copy-paste works fine. The
only problem is when screen is started from a SSH session.
I stand corrected -- I think screen only behaves that way under 10.5.
Under 10.4, I think it wasn't doing anything special with regards to
launchd and contexts, although I'm not entirely sure since I can't tell
what version of screen (and what Apple patches) shipped with 10.4.
> I'd like to know how the per-session context works, in order to see
whether there's a work around.
Looks like things were a bit different in this respect with 10.4 too. I
think basically each login (GUI or ssh) was in its own session context,
without a per-user namespace shared among all of that user's contexts. In
other words, even if screen isn't doing anything special, anything started
from a ssh session won't be able to access the pasteboard server. So I
wouldn't be too hopeful about getting it to copy-paste correctly. You
*might* be able to work around it using launchctl bsexec if that's
available in 10.4.
For reference, you might want to take a look at this Apple TN:
http://developer.apple.com/mac/library/technotes/tn2005/tn2083.html
It's mostly about 10.5, but has some info about earlier versions at the
end. Unfortunately, nothing about 10.6.
--
Ticket URL: <http://trac.macports.org/ticket/6495#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list