delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/10/19:25:26

From: jeffdb AT netzone DOT com ("Mikey")
Subject: Re: cat and binary files
10 Apr 1997 19:25:26 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199704102346.QAA19823.cygnus.gnu-win32@nz1.netzone.com>
Mime-Version: 1.0
Original-To: "Tim Iverson" <iverson AT cisco DOT com>
Original-Cc: "cygnus" <gnu-win32 AT cygnus DOT com>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Rebuilding would only fail miserably, IF you didn't reinstall your headers,
and source, after remounting with -b, UNIX, which gnu-win32 is supposed to
be an emulation of, dosen't recognize CR as a necessary line delimiter, nor
does it recognize in line EOF characters like ^Z.

So if you want the tools to act like they do under unix, you should
probably provide an environment as close to unix's as possible.

> BTW, I wouldn't recommend using binary mode.  I tried that briefly and
> found that rebuilding will fail rather miserably.
> 
writes:
> | >cat seems to stop before the end of input - I assume at an end of file
> | >character.  cat --help doesn't offer a binary flag.  How can I cat
> | 
> | Use the 'mount' command with the '-b' option to make sure that the
> ...
> | can be set to 1 to turn on the behavior where all files are treated as
> | binary (recommended).
> -

-
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".

- Raw text -


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