Subject: Re: bug#12040: 24.1.50; `term' hangs on FreeBSD 10.0-CURRENT without pty(4)

From: Glenn Morris <[email-masked]>
Date: Thu, 16 Aug 2012 02:45:30 -0400

Jan Beich wrote:

> A few ways to solve this:
> - use openpty() in -lutil like darwin
> - add use posix_openpt() support

Thanks for the patches.
Do you (or anyone else) have a feeling for which is the best?
As written the posix_openpt one changes the behaviour on gnu-linux
platforms to use posix_openpt instead of getpt.