Red Hat Bugzilla – Bug 1141
xconsole is not 8 bit clean
Last modified: 2008-05-01 11:37:49 EDT
To reproduce: echo "resumi" > /dev/console
This is a problem insofar as I have some syslog messages
are redirected to the console, and my locale is set to
French, so syslog messages get butchered when I see them
in my xconsole.
I was unable to replicate this problem in our test lab.
I tried again with starbuck's xconsole, and it's the same.
Here's a simple test case, please try it out:
echo -e 'a\na1i3\nb' > /dev/console
note that 1 and 3 are not supposed to touch one another.
In case this should make a difference:
moremagic:~$ echo $LC_ALL
moremagic:~$ echo $LANG
If you tell me this also works for you, I'll drop the case, and assume
something is broken on my side.
Ok, I tried again on a straight 6.0 install and the problem is really
there, I'm not sure why dkl wasn't able to reproduce the bug.
I simply did:
- startx (gdm is broken and doesn't chown the console to the user who
logs in, so xconsole can't work. That's a separate problem though)
- launch xconsole
- echo ripertoire >/dev/console
What shows up on the xconsole is rpertoire...
Confirmed in test lab with XFree86-22.214.171.124-52
This will be fixed in the next release of XFree86.