[Haskell-cafe] Re: Creating pseudo terminals
Georg Sauthoff
g_sauthoff at web.de
Sun Apr 29 14:22:35 EDT 2007
On 2007-04-29, Tom Hawkins <tomahawkins at gmail.com> wrote:
Hi,
[..]
> I haven't done this before in any language, so any tips would be
> appreciated. From what I gather, a call to posix_openpt or openpty
> returns a master and a slave, or alternatively opening /dev/ptmx
> followed by calls to grantpt and unlockpt.
well, then I suggest 'Stevens, Advanced programming in the unix
environment' for basic pseudo terminal programming.
Best regards
Georg Sauthoff
More information about the Haskell-Cafe
mailing list