From: donp AT hpbs1639 DOT boi DOT hp DOT com (Don Peterson) Subject: How do I cat binary files in beta 17.1 under NT 4.0? 23 Apr 1997 00:20:11 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199704222157.PAA21770.cygnus.gnu-win32@hpbs1639.boi.hp.com> Original-To: gnu-win32 AT cygnus DOT com X-Mailer: Elm [revision: 212.3] Original-Sender: owner-gnu-win32 AT cygnus DOT com I have a copy of the beta 17.1 distribution and I'm running it on Windows NT 4.0. I've seen strange behavior with binary files. The first clue was when I tried to edit a binary file with elvis while running from bash -- the file was truncated to a much smaller size than it should have been. Then I noticed that a command such as cat b will produce a file b that looks to be a different size than a. But they cmp the same. Under DOS with comp, they are labelled as different sizes. The ls -l command shows them to be different sizes. Your howto-bugs file intimates that this is already a well-known problem. I'd appreciate a pointer to a fix, patch, or work-around if one exists. BTW, I was tickled to find your GNU porting project. I have to work in an NT environment and I miss the UNIX tools. Thanks to all the folks who have put in a lot of work making such a thing available! Don Peterson donp AT donp DOT boi DOT hp DOT com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".