Sorry for the delay. Yes, works fine.
On Sun, 9 Nov 2003, Thomas Dickey wrote:
> On Sun, 9 Nov 2003, [ISO-8859-1] Fr�d�ric L. W. Meunier wrote:
>
> > Any way ? It seems on Linux it doesn't recognize CRLF line
> > endings and just ignore them. I also thought it wouldn't use
> > them on Cygwin with binary mounts, but that's another story.
>
> just reading the related source code, it appears that on Linux the CR/LF
> characters would be read, and perhaps the CR character is confusing lynx.
> The easy fix would be to modify this function in LYStrings.c
>
> PUBLIC char * LYTrimNewline ARGS1(
> char *, buffer)
> {
> size_t i = strlen(buffer);
> while (i != 0 && buffer[i-1] == '\n')
> buffer[--i] = 0;
> return buffer;
> }
>
> to
>
> PUBLIC char * LYTrimNewline ARGS1(
> char *, buffer)
> {
> size_t i = strlen(buffer);
> while (i != 0 && (buffer[i-1] == '\n' || buffer[i-1] == '\r'))
> buffer[--i] = 0;
> return buffer;
> }
--
http://www.pervalidus.net/contact.html
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]