Subject: cat and binary files
From: [email-masked] (Chuck Bogorad)

10 Apr 1997 18:33:16 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Original-To: [email-masked]
Original-Sender: [email-masked]

[email-masked] wrote:��

 mw> cat seems to stop before the end of input - I assume at an end of
 mw> file character.  cat --help doesn't offer a binary flag.  How can I
 mw> cat binary files? 

1. mount your drives as binary (i patched registry, so donno how to unmount `/` 
prior to mounting it)
2. comment out all patches to execute_cmd.c(part of bash) made by Cygnus - they 
open stdin/stdout pipes in O_TEXT mode which is not good for most purposes. 
places like this:

#ifdef __CYGWIN32__
      setmode(0, O_TEXT);
      setmode(1, O_TEXT);
#endif /* __CYGWIN32__ */

should be commented out.

3. be prepared to change various little things after (1) e.g. config files etc.
4. i also enclose trans.exe: this little proggie ((c) Kai Uwe Rommel) will help 
_alot_. it's dual mode (dos/os2-16).

section 1 of uuencode 5.20 of file trans.zip    by R.E.M.

sum -r/size 13986/30564 section (from "begin" to "end")
sum -r/size 17694/22162 entire input file

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".