From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: X selection access in xterm (OSC 52) Date: Fri, 17 Apr 2015 06:29:13 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bacb40ee812400513e5b25b X-Trace: ger.gmane.org 1429252161 17243 80.91.229.3 (17 Apr 2015 06:29:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2015 06:29:21 +0000 (UTC) Cc: Olaf Rogalsky , Emacs developers , Yuri Khan To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 17 08:29:20 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YizmC-0006ho-Ch for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 08:29:20 +0200 Original-Received: from localhost ([::1]:39734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YizmB-0004LN-Mo for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 02:29:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yizm7-0004LF-So for emacs-devel@gnu.org; Fri, 17 Apr 2015 02:29:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yizm6-0007P8-Iq for emacs-devel@gnu.org; Fri, 17 Apr 2015 02:29:15 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:34206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yizm6-0007Ov-6T for emacs-devel@gnu.org; Fri, 17 Apr 2015 02:29:14 -0400 Original-Received: by widjs5 with SMTP id js5so26672848wid.1 for ; Thu, 16 Apr 2015 23:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=Xip1MEB/N00RMtMln9ajlWO7JEV8tgnHjPDfkM65GlU=; b=VzQWvP5KWcm/F2nE6VpO2XF9XkuXjzCMyu2MFHzHyeGWPmtwHf0uH2yVZXkmLTEZlP CTTE0Vf+gQlwmWCvOxHpEm/S4o4sIw3+r6l7vxzonC823UdymHpDUmgrNp+/OITzPFul pK1E/qh7Rqc56YabD0AyJaK7mChHUTLe0XYPcZ/QNCElV3AxNyfFowc0/bEMFbzk+8PG IZN9dXuv40XNY3LPwTVv5FTOCW/WyGRxwu0YZXZmxoq2LDdXJieHVxfe1iJ68/pdpkfS WgyVYul9kleUjJxU57f48XRmNU9Tr3AfD5XLp4Wqb3RVWQ1QRRygsN/B8gjdp0d+YVVe iqsg== X-Received: by 10.194.60.4 with SMTP id d4mr2672017wjr.72.1429252153543; Thu, 16 Apr 2015 23:29:13 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185514 Archived-At: --047d7bacb40ee812400513e5b25b Content-Type: text/plain; charset=UTF-8 If I understand https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384593, this functionality was disabled by default on Debian-based systems for security reasons. Philipp Stephani schrieb am Fr., 17. Apr. 2015 um 08:25 Uhr: > Maybe something needs to be enabled? The documentation says "These > controls may be disabled using the allowWindowOps resource." I'll try it > today. > > Stefan Monnier schrieb am Fr., 17. Apr. 2015 > um 04:40 Uhr: > >> Is that normal? Do you guys see the same? I'm using Debian's "xterm" >> package version 312-2, for what it's worth. >> >> >> Stefan >> >> >> >>>>> "Stefan" == Stefan Monnier writes: >> >> >>> Yes, I took a look and I'll work on integrating the paste >> functionality. >> >>> Since cut and paste are mostly independent of each other, maybe you >> could >> >>> already integrate the cut patch? >> >> I just installed it (after adding a ChangeLog, and although it still >> >> lacks an etc/NEWS entry). >> >> > BTW, I can't seem to make this feature work for me. I do: >> >> > emacs -Q -nw >> > M-x trace-function RET xterm--set-selection RET >> > C-SPC M-f M-f M-f M-w >> > >> > C-y >> >> > and instead of getting the three words from *scratch*, I get whatever >> > was already there before in the clipboard. Yet, the trace buffer shows >> > that xterm--set-selection was called alright (and edebugging it also >> > indicates that it seems to be doing what it should). >> >> >> > Stefan >> > --047d7bacb40ee812400513e5b25b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If I understand=C2=A0https://bugs.debian.org/cgi-bin/bugreport= .cgi?bug=3D384593, this functionality was disabled by default on Debian= -based systems for security reasons.

Phil= ipp Stephani <p.stephani2@gmail= .com> schrieb am Fr., 17. Apr. 2015 um 08:25=C2=A0Uhr:
Maybe something needs to be enabled? = The documentation says "These controls may=C2=A0be disabled using the = allowWindowOps resource."=C2=A0I'll try it today.

Stefan Monnier <monnier@iro.umontreal.ca> schrieb am F= r., 17. Apr. 2015 um 04:40=C2=A0Uhr:
Is t= hat normal?=C2=A0 Do you guys see the same?=C2=A0 I'm using Debian'= s "xterm"
package version 312-2, for what it's worth.


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan


>>>>> "Stefan" =3D=3D Stefan Monnier <monnier@IRO.UMontrea= l.CA> writes:

>>> Yes, I took a look and I'll work on integrating the paste = functionality.
>>> Since cut and paste are mostly independent of each other, mayb= e you could
>>> already integrate the cut patch?
>> I just installed it (after adding a ChangeLog, and although it sti= ll
>> lacks an etc/NEWS entry).

> BTW, I can't seem to make this feature work for me.=C2=A0 I do:
>=C2=A0 =C2=A0 emacs -Q -nw
>=C2=A0 =C2=A0 M-x trace-function RET xterm--set-selection RET
>=C2=A0 =C2=A0 C-SPC M-f M-f M-f M-w
>=C2=A0 =C2=A0 <go to a previously running Emacs session in GUI mode&= gt;
>=C2=A0 =C2=A0 C-y

> and instead of getting the three words from *scratch*, I get whatever<= br> > was already there before in the clipboard.=C2=A0 Yet, the trace buffer= shows
> that xterm--set-selection was called alright (and edebugging it also > indicates that it seems to be doing what it should).


>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Stefan
--047d7bacb40ee812400513e5b25b--