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: Klaus Weide
Subject: Re: LYNX-DEV Download problems with LYNX for Win95
Date: Mon, 6 Oct 1997 05:55:10 -0500 (CDT)

On Mon, 6 Oct 1997 address@hidden wrote:

> Dear maintainers of the LYNX cult!
> 
> I recently downloaded the Win95 port of LYNX from
> http://www.fdisk.com/doslynx/lynxport.htm
> The version is:
> Updated on 1997.08.12 @ 8:30 EST with 2-7-1ac-0.49.
> 
> I want to use LYNX for downloading binaries with the help of a
> batchfile. So I tried the following commandline as a test:
> lynx -source <Source-URL> >foo
> I had to find out, that there is a newline conversion from newline "\n"
> (UNIX style) to newline&carriage return "\n\c" (DOS style). I didnĀ“t

You mean "\r\n" ?

> expect the "-source" option to change the source in any way. Or is the
> conversion already executed at the server site? What can I do to disable
> the conversion?

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.

Since you didn't give a URL, nobody can check what the server is sending
(for example with a non-Windows Lynx).  But try it with a page from a
server where you can be sure it is a Unix server (for example
www.apache.org), and you may get different results.

You have to be prepared to get text with three different kinds of
line-ends anyway (\n, \r\n, and \r), so you better have something that can
convert them to what you want if it matters.

   Klaus

;
; 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]