On Fri, 26 Jun 2020 18:52:55 +0900 (JST)
YASUOKA Masahiko <[hidden email]> wrote:
> OpenBSD now has posix_openpt(3), emacs should use that.
> A diff is attached.
> Currently emacs uses an old way which actually causes a problem. I am
> using gnupg through Mew(*1) which run on emacs, Mew seems to create a
> process without a pty regardless it specifies "process-connection-type
> pty" properly. The pty is required to pass the passphrase.
> *1) http://mew.org/
The patch I sent previously was reversed. Let me update it.
--- configure.ac.orig Thu Aug 22 07:25:23 2019
+++ configure.ac Fri Jun 26 18:33:33 2020
@@ -4620,11 +4620,11 @@ case $opsys in
- gnu | openbsd | qnxnto )
+ gnu | qnxnto )
- gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl )
+ gnu-linux | gnu-kfreebsd | dragonfly | freebsd | openbsd | netbsd | darwin | nacl )
dnl if HAVE_GRANTPT
if test "x$ac_cv_func_grantpt" = xyes; then
AC_DEFINE(UNIX98_PTYS, 1, [Define if the system has Unix98 PTYs.])