Author soumendra
Recipients soumendra, twouters
Date 2020-08-16.16:14:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Further proposal: Rename my _login_tty to login_tty and make it available as a part of the pty library. Note that usually login_tty accompanies openpty and forkpty on a system; for example, see

However, python's pty only offers openpty and forkpty in the form of pty.openpty and pty.fork respectively. While it is true that forkpty [ pty.fork ] combines openpty, fork, and login_tty, it also closes the slave end of the pty, making it unsuitable for situations where the slave end needs to be kept open; for example, in my patch, the slave end is used to set the window size; or, in case someone wants to do even better and register a SIGWINCH handler for situations in which the window size can change.
Date User Action Args
2020-08-16 16:14:08soumendrasetrecipients: + soumendra, twouters
2020-08-16 16:14:08soumendrasetmessageid: <>
2020-08-16 16:14:08soumendralinkissue41541 messages
2020-08-16 16:14:08soumendracreate