delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/10/01:33:31

Date: Tue, 10 Sep 1996 08:23:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Marty Leisner <leisner AT sdsp DOT mc DOT xerox DOT com>
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: <Pine.SUN.3.91.960910081551.9964E-100000@is>
Mime-Version: 1.0

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.

- Raw text -


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