delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/29/18:57:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Tuomo Valkonen <tuomov AT iki DOT fi>
Subject: Re: GNU screen hangs
Date: Sat, 29 Aug 2009 22:57:07 +0000 (UTC)
Lines: 48
Message-ID: <slrnh9jci3.s0f.tuomov@beer.modeemi.cs.tut.fi>
References: <slrnh9j6f0 DOT qom DOT tuomov AT beer DOT modeemi DOT cs DOT tut DOT fi> <416096c60908291500s41ad219bs76e0a7917decef33 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: slrn/pre1.0.0-2 (Linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2009-08-29, Andy Koppe <andy DOT koppe AT gmail DOT com> wrote:
> 2009/8/29 Tuomo Valkonen:
>> Cygwin (1.7 -- 1.5 is useless due to non-existent
>> locale/UTF-8 support, although 1.7 doesn't shine in
>> that either)
>
> Any specific problems regarding the latter?

A couple. Firstly Xlib/libc communication seems to be 
broken/unimplemented. This has frequently been a
problem on Linux too, Xlib not being aware of libc
locales. (Xlib usually won't work without the .encoding
part in LC_CTYPE, which frequently isn't there, as
libc seemingly can get the information from elsewhere.)
So XSetLocale will fail, and FontSets will not be usable,
or XSetLocale will not fail, but FontSets will still be
loaded incorrectly. Or something like that. Currently 
Ion can't display non-ASCII characters, although they
work fine in Xterm that does hack raw DrawString16 stuff
expecting an unicode font. (I won't touch the blur-fascist
shit known as Xft/fontconfig with a long stick... part 
of the reason for my switch to Windows XP.)

I guess there were also some problems with some of the 
X terminal emulators as well (I got basic non-uxterm xterm
working anyway), but I don't feel like starting X now to 
check, because it'll just crash soon afterwards.

Another problem is that a after an upgrade a couple of
months, various Python software (duplicity and eyeD3 at 
least) stopped working with  UTF-8 file names (and probably
other input too). This is fixed by adding the call

  locale.setlocale(locale.LC_CTYPE, "")

in the programs. Not sure where the fault is, or if it
has been fixed by now.

Maybe there were a few other problems, but they haven't
bugged my since my initial attempts at getting things
to work well enough. And as long as things work in terminal
programs and xterm, it's good enough for my cygwin uses.

-- 
In 1995, Linux was almost a bicycle; an alternative way of live to the
Windows petrol beasts that had to be taken to the dealer for service.
By 2008, Linux has bloated into a gas-guzzler, and local vendors and
artisans have had to yield to "all under one roof" big box hypermarkets.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019