Trac/1417 - add pseudoterminal support to the unix library

Bryan O'Sullivan bos at
Wed Jun 6 21:00:26 EDT 2007

This is a very simple enhancement.

   openPseudoTerminal :: IO (Fd, Fd)
   getSlaveTerminalName :: Fd -> IO FilePath

Here's the ticket:

The code ought to work on Linux, Solaris, BSD, HP/UX, and Cygwin, too. 
I've compile-tested it on Linux, using both openpty and explicit open of 

I propose a discussion period of one week.



More information about the Libraries mailing list