[Haskell-cafe] Re: Re: Read a single Char

Hans van Thiel hthiel.char at zonnet.nl
Thu Oct 26 06:50:54 EDT 2006


>That is normal Unix behaviour.  Try the same input with
        
                head -1c | od -c; head -1c | od -c
        
        The terminal buffer is only discarded if a program changes the
        terminal
        mode.  Hugs and ghci do (because they use readline), but runhugs
        doesn't.
>

Ah, so that's it! Thanks, all.
        
Hans van Thiel
        



More information about the Haskell-Cafe mailing list