FIONREAD uses an int pointer on OpenBSD. I don't know
how it works on other architectures.
On 32 bits architectures, trn works by chance. On some 64
bits architectures, like sparc64, the FIONREAD in term.c will
NOT get the correct result. Thus eattypeahead ends in a loop.
Fix: I hardcoded FIONREAD to read int on the port. If some
OSes actually use long for their result, then I see no choice
but to include this in the hints file...
Submitted by email@example.com
I must have a sourceforge login somewhere, but I've
Log in to post a comment.