Not my finding, I'm only re-posting it here. See: http://stackoverflow.com/questions/473327/unexpected-behavior-of-iofread-in-erlang Cheers, Adam