[Python-Dev] Fixing pty.spawn()

Gustavo Barbieri barbieri at gmail.com
Tue Sep 27 21:47:45 CEST 2005

The attached patch calls ioctl() to set master_fd win size.

I use fcntl and struct modules, I have hardcoded values from termios
since this module is deleted.

Is it ok?

Gustavo Sverzut Barbieri
Computer Engineer 2001 - UNICAMP
GPSL - Grupo Pro Software Livre
Cell..: +55 (19) 9165 8010
Jabber: gsbarbieri at jabber.org
  ICQ#: 17249123
   MSN: barbieri at gmail.com
 Skype: gsbarbieri
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pty_spawn_set_winsize.patch
Type: application/octet-stream
Size: 1778 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20050927/f3303dad/pty_spawn_set_winsize.obj

More information about the Python-Dev mailing list