Hi Dan,

A little late, but still...

On Wed 11 Nov 2009 13:07, dskr <[email protected]> writes:

> The default libguile printer for port objects attempts to print TTY
> names for fds for which are ttys. This printer fails when ttyname
> returns null. This is the case, at least, on Mac OS X for master ptys.
>
> Although Guile cannot typically make a master pty, it can inherit one. I
> am trying to finish an extension library that provides full pty  support
> but could use a fix here.

Why does ttyname() return NULL for an fd which isatty()? Is this a bug
in Mac OS X? How does one discriminate between a failed call to
ttyname() (e.g., on an fd that is not a tty), and a call to ttyname() on
a valid but nameless tty?

Thanks,

Andy
-- 
http://wingolog.org/

Reply via email to