Re: c program running 2 terminal windows, how to specify in which to write?
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 04/29/04
- Next message: Barry Margolin: "Re: Can TCP_NODELAY be turned on and off in a single session?"
- Previous message: Daniel Stenberg: "Re: Query a DNS in C"
- In reply to: Jens.Toerring_at_physik.fu-berlin.de: "Re: c program running 2 terminal windows, how to specify in which to write?"
- Next in thread: Achraf: "Re: c program running 2 terminal windows, how to specify in which to write?"
- Reply: Achraf: "Re: c program running 2 terminal windows, how to specify in which to write?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 02:22:47 -0400
In article <c6pmap$efg5j$1@uni-berlin.de>,
Jens.Toerring@physik.fu-berlin.de wrote:
> Probably you're already on the
> right track with popen(), just write the texts you want to appear
> in the new terminal to the FILE* you received from the popen()
> call, using fprintf() instead of printf().
I doubt this would work. This will write to gnome_terminal's standard
input, but I doubt that it reads from its standard input. I expect that
it's like xterm -- it reads its input from the X window that it opens.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Next message: Barry Margolin: "Re: Can TCP_NODELAY be turned on and off in a single session?"
- Previous message: Daniel Stenberg: "Re: Query a DNS in C"
- In reply to: Jens.Toerring_at_physik.fu-berlin.de: "Re: c program running 2 terminal windows, how to specify in which to write?"
- Next in thread: Achraf: "Re: c program running 2 terminal windows, how to specify in which to write?"
- Reply: Achraf: "Re: c program running 2 terminal windows, how to specify in which to write?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]