Hi,
I would like to write an gtk/gnome frondend to an interactive program. This can be 
easily done using the zvt terminal widget. However I would like my application to be 
able to communicate with the interactive program without displaying this on the 
terminal.
When the application is forked using zvt_fork_pty, the only way to communicate with 
the interactive program is through the terminal, which automatically displays 
everthing, so this option does not work.
A second method might be using the terminal just for user I/O and doing all 
communication with the program from my application. Writing text to the terminal is 
straightforward, but reading input can only be done by reading a part of the terminal 
screen, which is quite awkward in my opinion.
Does anybody has ideas about alternatives, using for instance a TextView widget? This 
is not very elegant too, since it makes no discrimination between program output and 
user input.
I hope someone on the list can point me in the right direction. Please read 'as far as 
I know' everywhere were it is appropriate in what I wrote: I am just starting with 
PyGtk.

Thanks,

Martijn
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to