On Sun, Oct 14, 2012 at 11:14 AM, Motiejus Jakštys <desired.mta@gmail.com> wrote:
The behaviour is fine: right after entering a character, I get echo
back.

However, when started with runhaskell (or compiled ./getchar):

    motiejus@precise> runhaskell getchar.hs
    la<CR>
    Entered: l
    Entered: a
    Entered:

http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-faq.html scroll to the bottom.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net