use openbsd libc pty functions for now