lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] How to stop the terminal display


From: Thomas Dickey
Subject: Re: [Lynx-dev] How to stop the terminal display
Date: Thu, 10 Mar 2011 04:54:36 -0500 (EST)

On Wed, 9 Mar 2011, Biswajit Paul wrote:

Thanks Thomas for the reply.

It worked from the prompt :)

Now I am planning to replace lynx "main"  by " lynx_main"  and call from my
program. Will it still work ?

probably (assuming your main program provides the same stdin, stdout and
stderr as the original main gets).

Is there any compile time MACRO/option that can stop the display or any code
change needed ?

you could try combining it with -dump, which could be more efficient.

One more query: While crawling how to set the depth of traversal ?

That doesn't seem to be configurable...


Thanks & Regards
Biswajit




On 9 March 2011 17:12, Thomas Dickey <address@hidden> wrote:

On Wed, 9 Mar 2011, Biswajit Paul wrote:

 Hello,

I am using lynx as a crawler + text extractor.

lynx    -crawl    -traversal   -accept_all_cookies    <URL>

By default, when crawling, lynx continuously keep displaying html pages on
terminal and save dump(plain text) in file.

But I do NOT want any display on the terminal. How to stop the terminal
display ?


Did you try redirecting the display to /dev/null?

For example

lynx -crawl -traversal -accept_all_cookies <URL>   >/dev/null

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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