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

Bug#205255: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205255



>                      Debian Bug report logs - [1]#205255
>             xterm: fails on intensity specifications rgbi:<r/g/b>

This fails because of the X11 library rather than xterm.

I considered whether it was due to delaying the lookup of colors (and possibly
using a different method), but restoring the "original" way resources were
found, there's no change (so I'm certain that it is not due to a change in
xterm).  However, I am not able to see where X11 has changed either.

Reading through Xlib I see the issue is that in de_DE locale, a "," is used for
a decimal separator rather than ".".  The XcmsLRGB_RGBi_ParseString() function
uses sscanf, which (given the locale) expects a comma.  That particular part
of the code hasn't changed since XFree86 3.3.6.  The available documentation
does not mention whether this string should be interpreted in a locale-specific
manner, only an oblique reference to its character set.

>xterm does not recognise intensity specifications like
>
>        XTerm*VT100*color1:  rgbi:0.4/0.0/0.0
>
>Error message:
>
>         xterm: Cannot allocate color rgbi:0.4/0.0/0.0
>
>It did definitively work in earlier versions.

more information about the earlier versions would be helpful, but in any
case this bug is not related to xterm.
-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net




Reply to: