I've got a script that uses pty.spawn(). However the subprocess cant seem to get the size of the terminal (stty size returns '0 0'), so the output is corrupted. How can I fix this? Chris