lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Download problems with LYNX for Win95


From: Greg Marr
Subject: Re: LYNX-DEV Download problems with LYNX for Win95
Date: Mon, 06 Oct 1997 12:54:16 -0400

>Lynx doesn't do any explicit conversion in that case.  Unless
>putc(), fputs(), and fwrite() to stdout or the '>' operation somehow cause
>an implicit conversion on Windows - which may well be the case for all I
>know - you should get what the server is sending.

When a file is opened in text mode in Windows, CR/LF translation is
performed.  If it is opened in binary mode, there is no translation.  I
would assume that stdout gets opened in text mode.

From VC++ 5.0 help:
"Also, in text mode, carriage return–linefeed combinations are translated
into single linefeeds on input, and linefeed characters are translated to
carriage return–linefeed combinations on output."

"binary mode...translations involving carriage-return and linefeed
characters are suppressed."


--
Greg Marr
address@hidden
"We thought you were dead." 
"I was, but I'm better now." - Sheridan, "The Summoning"

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]