Trac/1417 - add pseudoterminal support to the unix library

This is a very simple enhancement. openPseudoTerminal :: IO (Fd, Fd) getSlaveTerminalName :: Fd -> IO FilePath Here's the ticket: http://hackage.haskell.org/trac/ghc/ticket/1417 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 /dev/ptmx. I propose a discussion period of one week. Thanks,

Bryan O'Sullivan wrote:
This is a very simple enhancement.
openPseudoTerminal :: IO (Fd, Fd) getSlaveTerminalName :: Fd -> IO FilePath
[...]
I propose a discussion period of one week.
Oh dear. I let this one get away. There were no responses to my original posting. It would be very nice if this were to make it in before the 6.8.1 release. http://hackage.haskell.org/trac/ghc/ticket/1417
participants (1)
-
Bryan O'Sullivan