www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/22/11:24:28

Date: Wed, 22 Jul 1998 18:23:33 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
cc: djgpp-workers AT delorie DOT com, Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: Ispell and pipes
In-Reply-To: <m0yz0Zi-000S52C@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.980722181824.12232L-100000@is>
MIME-Version: 1.0

On Wed, 22 Jul 1998, Salvador Eduardo Tropea (SET) wrote:

> Ok. But one technique I saw was hooking Int 0x29 (or similar) that 
> seems to be a DOS hook for capturing the output of a program and I 
> think that's called from inside DOS. I must check it. 

Spare your time and effort: I've been there and done that a long time 
ago.  Hooking Int 29h works, but it's useless: when your RMCB is called, 
the DOSBusy flag is ON, since Int 29h is issued by DOS itself.  So you 
cannot do anything useful in the program that hooks Int 29h, except 
stashing away the characters.  Needless to say, you must be locked, and 
cannot page.

It is also terribly slow, since Int 29h is called for every character.

But if you want, I can mail you a short test program I used to test this, 
I still have it (just looked at it today when replying to your original 
message).

- Raw text -


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