Subject: Problem with stdout BINARY
From: [email-masked] (Philippe Chapuy)

11 Jun 1997 10:50:30 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7BIT
Original-To: [email-masked] (Cygnus gnuwin32)
X-mailer: Connect2-SMTP 4.00 MHS to SMTP Gateway
Original-Sender: [email-masked]

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
"[email-masked]" with one line of text: "help".