delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/29/20:42:43

From: Robert DOT Baron AT ERNST DOT MACH DOT CS DOT CMU DOT EDU
Subject: Re: using cat on binary files (CTRL-Z trauma)
29 Oct 1996 20:42:43 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <846644554/rvb.cygnus.gnu-win32@ERNST.MACH.CS.CMU.EDU>
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: DJ Delorie's mail message of Tue, 29 Oct 1996 08:48:27 -0500
Original-Sender: owner-gnu-win32 AT cygnus DOT com

What am I missing here?  You just can not let the win32 API use O_TEXT
mode -- ever.  Not only will cat be broken, but so will the checksum
programs, cksum, md5 and then the cmp program and who knows what else.

In the registry, under b15/cygnus you can set a "mount flag" to make
opens default to binary mode.  I posted the explanation to this list
before.  I'll see if I can find the exact details in the morning.
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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