Author soumendra
Recipients soumendra
Date 2020-08-13.17:36:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The example in that mimics script(1) can be used to reproduce the problem: since window size is not set by pty.spawn, output of "ls" becomes scattered and hard to visually parse if xterm window is not in fullscreen mode.

To fix the above issue, this patch makes pty.spawn set window size ( TIOCSWINSZ ). Also, this patch makes the code of pty.fork() more readable by defining _login_pty(); the latter is reused in spawn().
Date User Action Args
2020-08-13 17:37:00soumendrasetrecipients: + soumendra
2020-08-13 17:37:00soumendrasetmessageid: <>
2020-08-13 17:37:00soumendralinkissue41541 messages
2020-08-13 17:37:00soumendracreate