Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: sandmann AT clio DOT rice DOT edu (Charles Sandmann), eliz AT is DOT elta DOT co DOT il, djgpp-workers AT delorie DOT com Date: Thu, 23 Jul 1998 14:54:37 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Ispell and pipes In-reply-to: <9807230145.AA15470@clio.rice.edu> References: from "Salvador Eduardo Tropea" at Jul 22, 98 06:27:59 pm Precedence: bulk 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