[Haskell-cafe] reading from a unix pipe and then from the user

Neil Mayhew neil_mayhew at users.sourceforge.net
Sun Oct 27 13:30:55 UTC 2019


On 2019-10-26 2:27 a.m., Aramís Concepción Durán wrote:
> I could open a handle to `/dev/tty`
It's also worth noting that many similar programs use stderr instead of
/dev/tty. Each approach has its advocates. vim -i uses stderr, for
example, and sudo uses /dev/tty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20191027/1d82c505/attachment.html>


More information about the Haskell-Cafe mailing list