<html><body><div>On 12 Oct, 2011,at 04:39 PM, mukesh tiwari <mukeshtiwari.iiitm@gmail.com> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"> When i run this program . it does not produce any thing and when i press ^C ( CTRL - C ) it produce output. </div></blockquote><span> </span><br></div><div>This is because you use hGetLine, which blocks until it sees either a newline character, or EOF.<br></div><div><br></div><div>Regards,<br></div><div> Malcolm<br></div></div></body></html>