[Fwd: Making system Calls ??]

Terry Moore (tmoore@krusty.dseg.ti.com)
Fri, 10 Jan 1997 08:55:56 -0600

To subscribers of the xforms list from Terry Moore <tmoore@krusty.dseg.ti.com> :

Message-ID: <32D63C81.564FB47F@krusty.dseg.ti.com>
Date: Fri, 10 Jan 1997 06:56:34 -0600
From: Terry Moore <tmoore@krusty.dseg.ti.com>
Organization: Linux Leadership Team
X-Mailer: Mozilla 3.0 (X11; I; Linux 2.0.20 i486)
MIME-Version: 1.0
To: xforms@bob.usuf2.usuhs.mil
Subject: Making system Calls ??
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I can not seem to find the secret for making system calls.

If I use a callback functions for a button
and do system("who");
the output goes to stdio. ( the active win )

I would like to capture this output and output it into
a textbox.

I am trying to learn xforms by wrapping a GUI around things
like
who, whoami, ping, ifconfig , top ...

I am out of Ideas

Terry Moore
tmoore@krusty.dseg.ti.com