www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/23/13:46:53

Message-Id: <m0yzPQi-000S49C@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
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
Subject: Re: Ispell and pipes
In-reply-to: <9807230145.AA15470@clio.rice.edu>
References: <m0yz6Hj-000S54C AT inti DOT gov DOT ar> from "Salvador Eduardo Tropea" at Jul 22, 98 06:27:59 pm

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019