0

There is already a question: Screen fails to release pty and there is no answer (only a workaround has been provided so far).

My case is different and I would like to know the answer to the original question. So, why does socat (even recent version 1.7.3.0) ignore the screen when the last closes the pipe?

0

The answer is very simple at the end. We have to use open('/dev/ptmx') instead of old openpty() mechanism.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.