[issue41494] Add window resizing support [ SIGWINCH ] to Lib/pty

2020-08-07 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Updated diff. Changes _ekill() -- Added file: https://bugs.python.org/file49376/pty.diff ___ Python tracker ___

[issue41494] Add window resizing support [ SIGWINCH ] to Lib/pty

2020-08-06 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- pull_requests: +20896 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21752 ___ Python tracker ___

[issue41494] Add window resizing support [ SIGWINCH ] to Lib/pty

2020-08-06 Thread Soumendra Ganguly
New submission from Soumendra Ganguly : This was tested using Python 3.7 after commenting out the sys.audit lines. https://docs.python.org/3/library/pty.html presents us with an example usage of pty.spawn. This example mimics script(1). However, the script(1) from util-linux has fantastic