public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: Paul Maier <svn-user@web.de>
Subject: Re: AW: clipboard integration doesn't work
Date: Tue, 08 Feb 2011 23:55:00 -0000	[thread overview]
Message-ID: <4D51D7D7.8010200@dronecode.org.uk> (raw)
In-Reply-To: <4D514F5C.8090604@dronecode.org.uk>

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/


  reply	other threads:[~2011-02-08 23:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-06 21:49 Paul Maier
2011-02-07 17:36 ` Jon TURNEY
2011-02-08  1:44   ` AW: " Paul Maier
2011-02-08 14:12     ` Jon TURNEY
2011-02-08 23:55       ` Jon TURNEY [this message]
2011-02-09 11:34         ` AW: " Paul Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D51D7D7.8010200@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=svn-user@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).