lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Revised patch for HTFTP.c


From: Klaus Weide
Subject: Re: lynx-dev Revised patch for HTFTP.c
Date: Mon, 21 Aug 2000 23:39:05 -0500 (CDT)

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 address@hidden

reply via email to

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