From: huott AT pinebush DOT com (Ed Huott) Subject: Re: cat and binary files 9 Apr 1997 17:49:58 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199704092122.RAA06770.cygnus.gnu-win32@sol.pinebush.com> Original-To: marc AT watson DOT ibm DOT com Original-cc: Win32 Mailing List In-reply-to: Your message of "Wed, 09 Apr 1997 09:49:20 EDT." <9704091349 DOT AA39368 AT marc DOT watson DOT ibm DOT com> Original-Sender: owner-gnu-win32 AT cygnus DOT com In message <9704091349 DOT AA39368 AT marc DOT watson DOT ibm DOT com>, Marc Auslander writes: >(running latest) > >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 >binary files? > Use the 'mount' command with the '-b' option to make sure that the drive on which the file resides is "mounted" with the binary flag set (text==binary) in the cygwin world. There is some discussion about this in the FAQ and/or README files. If you are comfortable with mucking around in the Windows registry, you can view/change the settings for these virtual drive mounts for the current user under the following key sub-tree: HKEY_CURRENT_USER/Software/Cygnus Support/CYGWIN.DLL setup/b15.0/mounts The value for the "fbinary" key under the appropriate device number can be set to 1 to turn on the behavior where all files are treated as binary (recommended). Note that the "b15.0" settings still apply to the b17.1 installation. These setting are preserved from one Windows login session to the next. Hope you find this useful. - 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".