From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5044 invoked by alias); 8 Feb 2011 23:55:03 -0000 Received: (qmail 4993 invoked by uid 22791); 8 Feb 2011 23:55:02 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Feb 2011 23:54:57 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.5]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 08 Feb 2011 23:54:54 +0000 Message-ID: <4D51D7D7.8010200@dronecode.org.uk> Date: Tue, 08 Feb 2011 23:55:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.14) Gecko/20110123 Thunderbird/3.1.8 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: Paul Maier Subject: Re: AW: clipboard integration doesn't work References: <4D502D7F.1030602@dronecode.org.uk> <85281D523F42438B817742749355863F@sulzer.de> <4D514F5C.8090604@dronecode.org.uk> In-Reply-To: <4D514F5C.8090604@dronecode.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-02/txt/msg00013.txt.bz2 On 08/02/2011 01:26, Paul Maier wrote: > thanks for giving your attention to this. 8-) > > >> Can you give a detailed set of reproduction steps e.g. what >> application are >> your cutting from, pasting to? > > It is reproducable in both directions (Win -> X, X -> Win), with any > application on both sides. > So I choose a xterm with a vim for X, and a notepad for Windows. [...] winClipboardProc - Warning: Locale not supported by X. [...] winClipboardFlushXEvents - SelectionRequest - X*TextListToTextProperty failed: -2 [...] winClipboardFlushXEvents - SelectionNotify - X*TextPropertyToTextList returned: -2 [...] > Can I also see your cygcheck output in the form suggested by the link at the > bottom of this mail? LC_ALL = 'de_DE.CP1252' Oh dear :-( It looks like this is going to be broken for all locales which use a Windows codepage encoding, since Xlib knows nothing about them. As a workaround, you could perhaps set your locale to de_DE.ISO8859-1 (which is a subset of CP1252), if you actually need to work with CP1252 encoded data, or de_DE.UTF-8 if you don't. I'm not sure what to do about fixing this. Prior to Xserver 1.7.1-2 it would just refuse to start with unsupported locales. I guess we should at least fallback to setting the C locale if the current locale isn't supported by X. I'm not sure I want try adding all the possible codepage locales which Cygwin supports to the X locale tables. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/