Date: Mon, 30 Mar 1998 16:56:04 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andris Pavenis <pavenis AT lanet DOT lv>
cc: djgpp AT delorie DOT com
Subject: Re: "bash"ing "cat"s.
In-Reply-To: <199803301137.NAA26326@ieva06.lanet.lv>
Message-ID: <Pine.SUN.3.91.980330165119.20293C-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Precedence: bulk


On Mon, 30 Mar 1998, Andris Pavenis wrote:

> 2) start FAR or Norton Commander in DOS session under Win95
> 3) run test1.exe and terminate input with Ctrl-Z
> 4) run test1.exe once more (for me it gets EOF IMMEDIATELLY)

Thanks, that's an important piece of evidence.

So, it seems that (once again) COMMAND.COM is doing something that other 
shells don't.  The question is: what that thing is?

You said in previous messages that you looked at the DOS calls issued by
COMMAND.COM and didn't see anything special.  What *did* you see?  In
particular, were there any IOCTL calls (Int 21h/AH=44h) which reference
the console device?