NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/41129: xterm does not like some UTF-8 LC_CTYPE



>Number:         41129
>Category:       xsrc
>Synopsis:       xterm does not like some UTF-8 LC_CTYPE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 03 15:10:00 +0000 2009
>Originator:     Jonathan Perkin
>Release:        5.99.8
>Organization:
>Environment:
>Description:
I'm using 20090328000Z i386 snapshot.

$ env LC_CTYPE=en_GB.ISO8859-1 xterm # fine
$ env LC_CTYPE=en_GB.ISO8859-15 xterm # fine
$ env LC_CTYPE=en_GB.UTF-8 xterm
Failed to open input method

Ordinarily this wouldn't be a huge problem, but for some reason xterm has this 
glob of lard in xsrc/external/mit/xterm/dist/charproc.c:

        if (term->screen.xic == NULL && !term->misc.cannot_im) {
            sleep(3);

locale -a shows all locales installed ok, I get the same error with en_US.UTF-8 
but not with zh_TW.UTF-8 (for example) so it's not necessarily just a UTF-8 
problem.
>How-To-Repeat:

>Fix:
Get rid of stupid sleep(3) in xterm source, but that probably just masks the 
problem.



Home | Main Index | Thread Index | Old Index