[Haskell-cafe] ptys and hGetContent problem

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Mar 8 15:35:37 EST 2010

> And further...
> If I do want to use an interactive program which needs input, how do I
> send ctrl-d or ctrl-c?
> tail -f needs ctrl-c (or I need to kill the process)

You want Ctrl-d in Unix-based OSs and Ctrl-z in Windows:
http://en.wikipedia.org/wiki/End_of_File .  Ctrl-c kills a program.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list