Mail Archives: djgpp-workers/1998/07/23/13:46:53
As we are in this thread:
What about a technique using a shell? Is that possible?
I mean:
1) You start a "shell" program (a silly one right now for testing,
bash if you are fanatic ;-) passing as parameter the program you want
to run.
2) The shell loads the image of the program in RAM and pass the
control to it.
3) The program (I call it A) calls the shell (using a pmode
interrupt) asking the shell to open a connection to a second djgpp
program.
4) The shell loads the second program (B) informing that is piped.
(Could be what Eli says about ioctl->isatty).
5) The shell acts like a multitasker making both programs to
cooperate.
Is that possible?
Disadvantages:
* You need to run the programs from the shell.
Advantages:
* More than 2 can be making the same without much programming effort.
* The complexity is in the shell not in each program.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -