From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JNPTE-0008K1-MU for garchives@archives.gentoo.org; Fri, 08 Feb 2008 09:24:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47EC0E07EE; Fri, 8 Feb 2008 09:22:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F21E4E07EF for ; Fri, 8 Feb 2008 09:22:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 839F665FA0 for ; Fri, 8 Feb 2008 09:22:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.67 X-Spam-Level: X-Spam-Status: No, score=-1.67 required=5.5 tests=[AWL=0.930, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8Ogrz4lXyhv for ; Fri, 8 Feb 2008 09:22:20 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by smtp.gentoo.org (Postfix) with ESMTP id E6DC266002 for ; Fri, 8 Feb 2008 09:22:19 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so2621731fgg.40 for ; Fri, 08 Feb 2008 01:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:sender; bh=yFvbj7zPiXbeqTM8GxDB7ez/fIOqcdLoZ7nMgk7Zbt4=; b=u5S5fSo0AwZlc8/vijJHBPti6uRIvB19UpHZS7qn8XZkevAqPU7uyJW9saEDug9HKM/CIGEYzd86H006pdTDE/CIJwaY79IrXfv66Pr0JiHXVAXMeldGTIO2HT/NpnxbRnAey59+BsyPwWPADh9lS5HSG3KvPazPU8u6T7d8hZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:sender; b=tsC+fvEjds041swx2+9cHrpC4Y5jHur6Yml86ueXLy40Pm5lRdA4iSaTMCig1YAKHQb17zMPlnF21ooxDmEdHgCLncwj31wiWZ3MD1+jgDGB6VwybO8CiXhyrFA5wsQalQc9ZsGNqAZBOE92ZWm0jIHQXZ2RDPGrxA9h4FwEV64= Received: by 10.86.26.11 with SMTP id 11mr7865178fgz.17.1202462538572; Fri, 08 Feb 2008 01:22:18 -0800 (PST) Received: from ?192.168.0.52? ( [83.218.162.35]) by mx.google.com with ESMTPS id l19sm17488271fgb.0.2008.02.08.01.22.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 Feb 2008 01:22:16 -0800 (PST) Subject: Re: [gentoo-user-ru] xterm-225 break koi8 paste From: Peter Volkov To: gentoo-user-ru@lists.gentoo.org In-Reply-To: <20071203132247.GN17188@home.power> References: <20071203132247.GN17188@home.power> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8VZawIwLolnxYWyZytiW" Date: Fri, 08 Feb 2008 12:12:00 +0300 Message-Id: <1202461920.12498.77.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-ru@lists.gentoo.org Reply-To: gentoo-user-ru@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Sender: Peter Volkov X-Archives-Salt: 6d90b64e-b5fd-4f53-82da-d556d718630c X-Archives-Hash: ea55b723150c76b7e4635f1bd000e497 --=-8VZawIwLolnxYWyZytiW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =D0=92=D0=BE=D0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D1=8E =D0=BF=D0=B5=D1=80=D0=B5=D0=BF= =D0=B8=D1=81=D0=BA=D1=83 =D0=B2 =D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B5 =D1=80= =D0=B0=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B8, =D0=B8, =D0=BF=D0=BE=D1=8D=D1= =82=D0=BE=D0=BC=D1=83, =D1=85=D0=BE=D1=82=D1=8C =D0=B8 =D0=B7=D0=B0=D0=BF= =D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=D0=BE, =D0=BD=D0=BE =D0=BF=D0=B8=D1=88=D1=83 =D1=8D=D1=82=D0=BE =D0=BF=D0=B8=D1=81=D1=8C=D0=BC= =D0=BE. =D0=9A=D1=81=D1=82=D0=B0=D1=82=D0=B8 =D1=80=D0=B5=D1=88=D0=B5=D0=BD=D0=B8= =D0=B5 =D0=BF=D1=80=D0=BE=D0=B1=D0=BB=D0=B5=D0=BC=D1=8B - =D0=BE=D0=BF=D1= =80=D0=B5=D0=B4=D0=B5=D0=BB=D0=B8=D1=82=D1=8C "*keepSelection: true" =D0=B2 .Xdefaults. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 10 Dec 2007 20:41:47 Thomas Dickey wrote: just to check - normally xterm in KOI8-R locale would be using the -k8 option as well - but some users don't do that. It would confuse xterm. That was a factor in this change: Patch #226 - 2007/6/17 * amend select/paste change from [248]patch #225 by limiting it to =20 non-UTF-8/non-KOI8-R encoding (Debian #420974). =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Fri, 7 Dec 2007 07:43:11 Thomas Dickey wrote: On Fri, 7 Dec 2007, Peter Volkov wrote: > Actually I'm not alone with this problem. Personally I do not use xterm, > but I've reproduced the problem and trying to help people in our Russian > mailing list. And they told me that using previous version of xterm-224 > works for them... But now I've checked this by myself and I see this > problem there too... So sorry, for disinformation. Seems that this > problem does not depend on version. yes, I understood that. xterm uses 3 types of selections: primary (the default) cut buffer (a fallback, which is updated at the same time) clipboard (an alternative to primary). While you can change which types it uses, those are what are available=20 without configuring it. The problem you're seeing is that xterm is holding the primary selection=20 (except for the keepSelection change I mentioned) only as long as it is=20 highlighting the data. If the highlighting goes away, it falls back to just the cut buffers. Those only store ISO-8859-1 (no cyrillic or UTF-8). Characters that do not work in that code are shown as "#". Both primary and clipboard can hold "any" characters. The selectToClipboard feature that I added lets xterm copy directly to the clipboard (which is less volatile than primary selection). The keepSelection feature tells it to continue owning the primary even when it does not highlight the selection. (Another client may acquire ownership of the primary selection of course, but xterm won't discard it). =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On Tue, 25 Dec 2007, Peter Volkov wrote: > And "*keepSelection: true" fixes the problem, while selectToClipboard is > not. Although as I read your explanation seems that both solutions > should work. Do I miss anything? not that I see. selectToClipboard is useful for applications that expect the selection on the clipboard (some web-browsers ignore the primary selecton). HTH, --=20 Peter. --=-8VZawIwLolnxYWyZytiW Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=D0=AD=D1=82=D0=B0?= =?UTF-8?Q?_=D1=87=D0=B0=D1=81=D1=82=D1=8C?= =?UTF-8?Q?_=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B0?= =?UTF-8?Q?_=D1=86=D0=B8=D1=84=D1=80=D0=BE=D0=B2=D0=BE=D0=B9?= =?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D1=8C=D1=8E?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHrBzgz6tlgEWSarMRAlKHAJ9cB1z62Ao8UWny/2YUpUDbQY3uWQCfXBqm ApnKx6j2B16U3tJ0IqUYcxM= =6ein -----END PGP SIGNATURE----- --=-8VZawIwLolnxYWyZytiW--