www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/31/09:37:05

Date: Tue, 31 Mar 1998 20:10:09 +0530 (IST)
From: "Mahadevan R." <mdevan AT md2 DOT vsnl DOT net DOT in>
Reply-To: mdevan AT iname DOT com
To: eliz AT is DOT elta DOT co DOT il
Cc: djgpp AT delorie DOT com
Subject: Re: "bash"ing "cat"s.
Message-Id: <Pine.OSF.3.95.980331200606.24380A-100000@md2.vsnl.net.in>
Mime-Version: 1.0

> that writing to stdout clears the ^Z from stdin buffer.  Moreover, even 
> writing ZERO bytes to stdout (try using `_write' to handle 1 with the 
> last argument 0) solves the problem!

Incidently, writing to handle 0 using ah=40h/int 21h (or _write) also
seems to solve the problem.  The call actually succeeds (carry clear) even
though it shouldn't. 

Regards,
Mahesh (Mahadevan R.), <mdevan AT iname DOT com>


- Raw text -


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