[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:05 Apr 2004 22:08:01 GMT 
Subject:Communicating with RCLIB 
From:John Duncan 
Volume-ID: 

Hi,
   Is it possible to fork an instance of a Pop11 program
as a child process of a C program ?

   What I wish to do is shown here

http://www.linuxjournal.com/article.php?sid=44

   but he is using Tk instead of rclib.

   The idea is to fork an instance of a rclib control panel
as a child process of the C program and talk to rclib via
two pipes. You send Pop11 commands down the pipe to rclib,
which executes them ( by drawing the graphics etc.). You
also have rclib print strings to its standard ouput in
response to events ( like clicking on a button in the rclib
control panel) - the C program can recieve these strings
from the read pipe and act upon them. 
  
   I am also looking at Propsheets and Motif for this but
don't claim to be sure of what I am about. It is mainly a
learning exercise.

                       Thanks for any help,

                            John Duncan