Apparently luit can hang if the child runs before the parent gets around to
setting up the terminal. The patch I'll attach fixes this by make the child wait
on a pipe until the parent is done.
The hang is in tcsetattr() which seems dubious to me, so there may be an
underlying reason that should be investigated.
Created attachment 7234 [details] [review]
*** Bug 2443 has been marked as a duplicate of this bug. ***
The patch attached to this bug 8490 cannot possibly get in; it's too ugly for
words. The patch in bug 2443 looks okay to me.
Could anyone who can reproduce this please check whether the patch in bug 2443,
fixes this issue?
*** Bug 1400 has been marked as a duplicate of this bug. ***
I just got hit by the bug (on Gentoo system with luit-1.0.1 and Xorg-7.1) and it
seems from quick testing that patch given does fix the bug, or at least I'm
unable to reproduce it so far.
Thanks to all for your help. Juliusz.