On Mon, Sep 05, 2005 at 09:57:02AM +0200, Robert Millan wrote: > if (ioctl(fd, TIOCSCTTY, (char *)NULL) == -1) > return (-1); Btw, I just checked FreeBSD libc, and it does exactly the same thing. Perhaps we opened the wrong file? Or perhaps the FreeBSD version is also broken? (It's a BETA release, after all) -- Robert Millan