Date: Tue, 19 Mar 1996 11:01:19 +0000 (GMT) From: Dominic Hibbs To: Eli Zaretskii Cc: "x DOT pons AT cc DOT uab DOT es" , djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Opening more than 45 files (again) In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 17 Mar 1996, Eli Zaretskii wrote: > > On Thu, 14 Mar 1996, Dominic Hibbs wrote: > > > > in your configuration that causes this problem. On my machine, it always > > > stops 5 handles before what FILES= setting says (3 standard handles + 2 > > > more that some TSRs I install use). > > > > Actually the five files are > > stdin CON > > stdout CON > > stderr > > the printer PRN > > the auxilliary file AUX > > and I can't remember the proper name for the error file. > > `stderr' is also connected to CON by default. But you are wrong about > the 5 handles. From the system (DOS) point of view, only 3 files are > open: CON (3 times), PRN and AUX. > Isn't that the same? - I know that handles 0 to 4 are in use by the above and that the first file handle allocated when a file is opened is number 5. Opening COM1 (AUX) gives me file handle 3 and LPT1 gives me 4. stderr is accessed on a different handle and is not normally redirectable while stdin and stdout are.