www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/01/03:25:53

Date: Wed, 1 Apr 1998 11:23:39 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: mdevan AT iname DOT com
cc: djgpp AT delorie DOT com
Subject: Re: "bash"ing "cat"s.
In-Reply-To: <Pine.OSF.3.95.980331200606.24380A-100000@md2.vsnl.net.in>
Message-ID: <Pine.SUN.3.91.980401112310.2919I-100000@is>
MIME-Version: 1.0

On Tue, 31 Mar 1998, Mahadevan R. wrote:

> 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. 

Why do you say ``it shouldn't''?  The conclusion in this thread was
that the reason for this behavior is some quirk peculiar to the DOS
console device driver.  If so, any write to the CON device would
probably produce the same effect.  I didn't test, but I'd bet that
even if you open "CON" on another handle and write to it, it will
clear the ^Z condition as well.

- Raw text -


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