Re: [Haskell-cafe] Re: [Haskell] reading from stdin

2007-10-08 Thread Ryan Ingram
On 10/5/07, Reinier Lamers [EMAIL PROTECTED] wrote: You can probably unify the behaviors of platforms a, b and c by calling hSetBuffering on stdin to turn off buffering. I'm not so sure about this. I had a similar problem (GHC6.6.1 on Windows) where I had an app that wanted character-based

[Haskell-cafe] Re: [Haskell] reading from stdin

2007-10-05 Thread Reinier Lamers
Axel Simon wrote: a) is the behaviour I want, but unfortunately for platform d) b) must be due to ghci and Hugs having different opinions on whether stdin should be line buffered or unbuffered c) this is weird d) this is broken You can probably unify the behaviors of platforms a, b and c by

[Haskell-cafe] Re: [Haskell] reading from stdin

2007-10-04 Thread Stefan O'Rear
On Thu, Oct 04, 2007 at 05:46:09PM +0100, Axel Simon wrote: Hi, I'm trying to continuously output data to a file handle while reading single characters from the user to adjust the speed at which things are output. I'm interested to get this to work in Hugs on Windows. I successfully used