On Sun, 20 Aug 2000, Duncan Simpson wrote:
>
> I might just jump in here and suggets that if lynx'slogic converts CRLF to
> CRCRLF
It doesn't, it was the server.
> int mygetchar()
> and using mygetchar() instead of gerchat everywhere. Similar versions can
> be done for FILE * objects (pass the function structure with last and the FILE
> *). This converts CRLF, LFCR, CR, LF or any mixture of them to all single \n
> by automagically absorbing the second character of CRLF and LFCR.
Lynx code already does most of that. (Not LFCR AFAIK. Nor should it.)
> Of course if
> the server, or file, is broken and sends CRCRLF it gets truned into two line
> feeds.
IOW, no change.
> Will this technique deal with those pesky files that do not render "correctly"
> at present? If this fixes it then I guess lynx was more broken that the
> servers.
Uhm, you really *did* jump in without checking the context...
Klaus
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]