[project @ 2003-02-06 10:41:13 by simonmar]
authorsimonmar <unknown>
Thu, 6 Feb 2003 10:41:13 +0000 (10:41 +0000)
committersimonmar <unknown>
Thu, 6 Feb 2003 10:41:13 +0000 (10:41 +0000)
commit90acd04caed4eb4dbdd2033a1cd4bfdbc6c62c8b
tree652e78bbca06a321225aaa86b00195ff74a0b7cb
parent2b4305df56aa7f821e5596b695a3f75e56cbd2d5
[project @ 2003-02-06 10:41:13 by simonmar]
Aargh!  We were setting the VMIN and VTIME values in the termios
structure when the terminal is in non-raw mode, rather than raw mode,
because I had a test round the wrong way.

Apparently on Linux VMIN and VTIME default to 1/0, so it apparently
worked properly, but on Solaris the VMIN slot in the c_cc array is
shared with the VEOF slot, which meant that VMIN was being left as 4
(the value of ^D, which is the default contents of VEOF).

Thanks to Hal Daume for reporting the bug, and Malcolm Wallce &
Lennart Augustsson for helping to point me in the right direction.

MERGE TO STABLE
GHC/Posix.hs