This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Problem with stdout BINARY
- To: gnu-win32 at cygnus dot com (Cygnus gnuwin32)
- Subject: Problem with stdout BINARY
- From: Philippe Chapuy <pchapuy%cgsmail at capgemini dot fr>
- Date: Wed, 11 Jun 97 11:29:39 +0100
- Organization: CGS
Hi everybody,
Trying to write gif file in stdout with 'putchar'. b18 seems to add a CRNL
every CR he
founds in the file.
I tried some code like:
struct termios p ;
if (tcgetattr (fileno(stdout), &p)) return;
p.c_oflag = 0 ;
if (tcsetattr (fileno(stdout), TCSANOW, &p)) return;
putchar(....
but, sniff, no longer work.
If someone has an idea...
Best regards.
Phil :-)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".