pty.py: any example code out there?

dgoodger at bigfoot.com.bbs dgoodger at bigfoot.com.bbs
Tue Jul 18 00:10:02 EDT 2000


I'm looking for some concrete examples of the use of pty.py or any
equivalent. I've written a wrapper for the passwd program on QNX (a
POSIX-compliant realtime OS), and passwd is reluctant to be wrapped, writing
directly to the console/tty/pty, bypassing stdin/out. My wrapper currently
uses telnetlib.py to do its dirty work, but it's a kludgey solution. Any
samples, examples, pointers, hints or tips out there? Thanks in advance!

--
David Goodger    dgoodger at bigfoot.com    Open-source projects:
 - The Go Tools Project: http://gotools.sourceforge.net
 (more to come!)



More information about the Python-list mailing list