XForms: Receiving data through pipe

Bernhard Deny (bernhard.deny@phys.uni-karlsruhe.de)
Wed, 19 Nov 1997 13:55:42 +0100

To subscribers of the xforms list from Bernhard Deny <bernhard.deny@phys.uni-karlsruhe.de> :


I tried to set up a program which does the following:

1. A callback routine of a button forks a childprocess which does some
data acquistion throuh serial ports

2. An IO Callback function, registered to the main form, should receive
data from the child process and display it.

Until now, i did not manage to get the pipe communication with the
IO-Callback working (even with the use of some piping examples in the
Linux Programmers Guide). This should be a very common problem.

To avoid long discussions, has anybody a little example for a program
with an IO-Callback invoked by a pipe file descriptor when data is
available ?

Thank you in advance,
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/