<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 18, 2017 at 6:27 PM, Ben Franksen <span dir="ltr"><<a href="mailto:ben.franksen@online.de" target="_blank">ben.franksen@online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">System.IO.hSetBuffering is your friend</blockquote></div><br>Except when it's your enemy: <a href="https://github.com/commercialhaskell/stack/issues/2884">https://github.com/commercialhaskell/stack/issues/2884</a> see also <a href="http://tunes.org/~nef/logs/haskell/17.03.18">http://tunes.org/~nef/logs/haskell/17.03.18</a> at 02:48:19 and following.</div><div class="gmail_extra"><br></div><div class="gmail_extra">This conflation is stupid, prone to cause problems when multiple processes are involved, and needs to go away. Trying to hide the difference between buffering and tty mode from users just causes problems, because buffering is process local but the tty mode is shared between all processes using the tty.<br><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>