Date: Tue, 10 Sep 1996 08:23:07 +0200 (IST) From: Eli Zaretskii To: Marty Leisner Cc: djgpp-workers AT delorie DOT com Subject: Re: textutils, shutils, fileutisl and O_BINARY In-Reply-To: <9609091723.AA21949@gnu.mc.xerox.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 9 Sep 1996, Marty Leisner wrote: > I assume we have to a do a setmode call if we want binary streams > on stdin/stdout (the default is TEXT?) In most cases, you should only do that when stdin/stdout is NOT a tty (i.e., it's redirected, or you are in a pipe). > A new alpha of textutils 1.19d was just put out, I'm going to see > what needs to be done... Unless you already did that, I suggest you get the port of stock 1.19 version (with some bugfixes lifted from bug-gnu-utils) that I did, and pick up from there, rather than starting from scratch. This way, you save most (if not all) of the work, and the port that should go into the next DJGPP release gets tested by somebody other than me. ftp://ftp.delorie.com/pub/djgpp/alpha/txt119s.zip Note that the zip file is LFN-clean, so if you work on a platform that supports the LFN API, you should unzip it with an LFN-supporting unzip program and build it with an LFN-aware Make. (You don't *have* to do that, it will build either way.) I'd appreciate any feedback on that port. Thanks.