Re: c program running 2 terminal windows, how to specify in which to write?

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 04/30/04


Date: Thu, 29 Apr 2004 20:26:50 -0400

In article <381de918.0404291006.1f3395e2@posting.google.com>,
 achraf123@hotmail.com (Achraf) wrote:

> thank you guys for your message.
> first concerning popen(), I am using fprintf but it doesnt work.

Like I said, gnome_terminal doesn't do anything with its standard input.
It reads from the connection to the X server.

> Also, I only need to write to the new window.
> I am not abliged to use a new terminal, so I you can give me the
> command line to use the X .. it will be very helpful, I am not very
> familiar with linux, but I do master C language.
> Thanx again,
> Achraf

There's no simple command line I can give you. You need to read a book
on writing X applications.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***