delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/03/23/19:19:44

Date: Mon, 23 Mar 92 17:57:03 EST
From: DJ Delorie <dj AT ctron DOT com>
To: ericb AT lsid DOT hp DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Binary Output
Status: O

>When I dump the output of this program to a file, I see that ALL bytes
>are written correctly.  If I pipe the output to xd, I see that all
>bytes are still written correctly.  However, if I let the output go to
>the screen, the output stops after encoutering control-z.

This doesn't jive with both PBMPlus and compress, which produce bogus
files if you redirect output.  Of course, compress didn't have the
setmode() and pbm probably didn't either.

Thanks for the info, though!

DJ
dj AT ctron DOT com
Life is a banana.

- Raw text -


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