Post by Bruno Haible
Post by John E. Malmberg
This patch gets the forkpty.c, grantpt.c, and openpty.c modules building
I will need to figure out later how to actually implement these for
OpenVMS pseudo terminals.
I wouldn't like to apply intermediate patches like this one.
I'll prefer if you come back with a patch once you have figured out to actually
implement this functionality for OpenVMS.
Rationale: This is the most efficient way of communicating between you and us.
The people who need the intermediate patches are most likely already in contact
with you (pulling from your gnulib forked repo, if you have one).
The complete patch will not be so large that it would be unreviewable without
the intermediate patch.
Currently the modules fail to build on OpenVMS at all, so anyone trying
to port something to OpenVMS that has these modules is going have their
build fail, even if they are not using ptys.
I am not aware of any code to currently map the forkpty() or openpty()
code to an OpenVMS pseudo terminal device, and I do not know when I will
have the time to implement it.
Based on the way OpenVMS implements pseudo terminal devices it is likely
that grantpt will not do anything, but I have not verified that.
This is because I have not encountered a program to be ported to OpenVMS
that requires pseudo terminal device support.