NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mlterm 3.9.2 Failed to open pty



On 2022/07/21 19:23, RVP wrote:
On Thu, 21 Jul 2022, Rin Okuyama wrote:

If so, mlterm should be misconfigured. Can you upload


Looking at baselib/configure.in:279, the pty-type check programs
only #include <fcntl.h> w/o pulling in <stdlib.h>. Depending on
what pkgsrc's CFLAGS are, this could result in the 2 programs not
compiling at all, and the configure thinking that only BSD ptys
are present.

Hope this helps...

Unfortunately no. It *does* builds only if O_RDWR and O_NOCTTY are
defined. No matter whether posix_openpt(3) is declared or not.

However, posix_openpt(O_RDWR | O_NOCTTY) returns -1 for some
conditions. I've not reproduced this behavior for freshly-installed
NetBSD/amd64 9.2.

Maybe this is worth for PR...

Thanks,
rin


Home | Main Index | Thread Index | Old Index