Bug#840530: xinput: 7-bit terminal not respected
Package: xinput
Version: 1.6.1-1
Severity: minor
Dear Maintainer,
Even with LANG=C and LC_ALL=C which mandates 7-bit terminal, the
xinput command emits 8-bit characters.
Example:
# LC_ALL=C LANG=C xinput | od -c | head
0000000 342 216 241 V i r t u a l c o r e
0000020 p o i n t e r
0000040 \t i d =
0000060 2 \t [ m a s t e r p o i n t e
0000100 r ( 3 ) ] \n 342 216 234 342 206
0000120 263 V i r t u a l c o r e X
0000140 T E S T p o i n t e r
0000160 \t i d = 4 \t
0000200 [ s l a v e p o i n t e r
0000220 ( 2 ) ] \n 342 216 234 342 206 263
According to the specification of the "C" locate, these characters
(for example the first Unicode Character 'LEFT SQUARE BRACKET UPPER
CORNER') should be replaced with something appropriate for the LANG=C
environment. In addition to that, all software should support the
LANG=C environment.
Regards,
Harald.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-37-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xinput depends on:
ii libc6 2.19-0ubuntu6.6
ii libx11-6 2:1.6.2-1ubuntu2
ii libxi6 2:1.7.1.901-1ubuntu1.1
ii libxinerama1 2:1.1.3-1
ii libxrandr2 2:1.4.2-1
xinput recommends no packages.
xinput suggests no packages.
-- no debconf information
Reply to: