> > On Thu, Jan 02, 2003 at 08:50:39AM +0100, Martijn Brouwer wrote: > I would like to be able to communicate in two ways with an interactive program:
What does `interactive program' mean? A program that uses a terminal to input data (like Autocad's command-line prompt?) > 1) by the user. This should be visible in a terminal. So what the user types shows up in the terminal, as expected? > 2) by the graphical frontend application. This should be hidden from > the user. I could use a zvt terminal, fork the interactive program > and let the user communicate with the interactive program. In this > case communication type 1) is trivial. But as far as I know, type 2 > communication is not possible in this case, since all input to and > from the interactive program has to go through the zvt terminal. When You could communicates using pipes, even using input_add(), no? Johan has fixed up a version of the original pygtk test script that he calls `console.py' that does IPC with Python, maybe he'd be nice enough to share it with you. Apart from that I must admit I still don't know what you mean. Maybe an example with more concrete information "App X does this, has window, etc".. Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
