stub some pty functions for openbsd, different implementation to other BSDs