Date: Mon, 30 Mar 1998 16:56:04 +0300 (IDT) From: Eli Zaretskii To: Andris Pavenis cc: djgpp AT delorie DOT com Subject: Re: "bash"ing "cat"s. In-Reply-To: <199803301137.NAA26326@ieva06.lanet.lv> Message-ID: 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?