In telnet.py, socket I/O is handled via the UNIX fork command. This creates two
processes, one reading and one writing. Now I need to interface this with
Tk.
Since socket.read() waits for input, I first added yet another process using
fork. The problem: it apparently caused the creation of two separate widgets,
one of which was displayed and was using mainloop(), the other of which was
NOT being displayed and was used by the receiver process. In other words, trying
to add received text to the Text widget didn't work.
Any suggestions on how to solve this problem?
Thanks,
Steve