Is there a way to have a spawned process to use an ncurses window for
stdin/out?
I would have 2-3 windows, and want my program to be able to run a command as
a child process (kind of a shell type thing, but not nearly so cool). I
would like it to be able to have it use a specific ncurses window to do the
i/o to.
I think that I can come up with a way to do it by redirecting stdin/out
through the parent process, but I'm not completely certain that this would
be the best solution, or even work.
Does anybody have an idea on how to do this?
Also, how would I go about redirecting the stdin/out in a child process so
that I could send stuff to the child process and process the stdout of the
child process? And how would I make it so that the child process thought
that its terminal was only the size of the ncurses window?
--------------------
BYU Unix Users Group
http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list