Bug#291137: /usr/X11R6/bin/luit: luit sometimes doesn't restore terminal settings or hangs
I confirm. The patch helps.
max@max$dpkg -l xutils x11-common cpp libc6 libfreetype6 libfs6 zlib1g
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii cpp 4.0.1-3 The GNU C preprocessor (cpp)
ii libc6 2.3.5-6 GNU C Library: Shared libraries and Timezone
ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared library files
ii libfs6 6.8.2.dfsg.1-7 X Font Server library
ii x11-common 6.8.2.dfsg.1-7 X Window System (X.Org) infrastructure
ii xutils 6.8.2.dfsg.1-7 X Window System utility programs
ii zlib1g 1.2.3-4 compression library - runtime
To reproduce:
1)
$xrdb </dev/null
$locale
LANG=
LC_CTYPE=ru_RU.KOI8-R
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
2) $xterm -lc -e tty #hangs
3) $xterm -lc -lcc /usr/local/bin/luit -e tty #doesn't hang
--
Max
Reply to: