For Programmers: Free Programming Magazines  


Home > Archive > C > April 2004 > Re: c program running 2 terminal windows, how to specify in which









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: c program running 2 terminal windows, how to specify in which
Karthik

2004-04-28, 2:30 am

Achraf wrote:
> Hi all,
>
> I have a c program under linux, while running, it opens a new terminal
> windows using a system call. I would like to display messages on both
> windows.
> But I can't find a way to specify the terminal window I want to write
> in.
>
> The program is for chat and I want to keep a terminal window to write
> incoming messages, and use the other one for operation like sending
> messages or viewing list of nicks in the room....
>
> To start the new window, i use the command:
> system("gnome-terminal");
>
> but I really can't see if there is some possible way to write to it,
> all my messages keep arriving in the original window.
>
> If there is any way you can help me, I will be very thankful,
>
> Thanks to all of you guys,
> Achraf

There is a topic called IPC , which is out of topic of the current
newsgroup.
Check out comp.unix.programmer !

--
Karthik
Humans please 'removeme_' for my real email.
Grumble

2004-04-28, 6:30 am

Achraf wrote:

> I have a c program under linux, while running, it opens a new
> terminal windows using a system call. I would like to display
> messages on both windows. But I can't find a way to specify
> the terminal window I want to write in.


Try comp.os.linux.development.apps

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com