support pty in Debian kFreeBSD