Sponsored Content
Full Discussion: Downloading with lynx
Top Forums UNIX for Dummies Questions & Answers Downloading with lynx Post 33848 by D-Lexy on Tuesday 21st of January 2003 05:59:42 PM
Old 01-21-2003
Downloading with lynx

Hi there!
I one saw a command that allowed to download a file using lynx from an HTTP server without opening lynx itself.
Looked something like this:

$ lynx -xyz http://localhost/foo.bar ~/foo.bar
I looked into lynx manpages and help but didn't find anything.

Thank you in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Surfing the web with Lynx

Linux detected my modem(finally!) and I then proceeded it to configure it with Minicom according to the instructions here. I got it configured, and can dial up to my ISP, but now I am trying to figure out how to get Lynx to use the connection. Any ideas? (3 Replies)
Discussion started by: Furtoes00
3 Replies

2. Shell Programming and Scripting

Lynx via crontab

I've written a program using the bourne shell (I think) #!/bin/bash that goes through a database and for each line does lynx "http://www.example.com/test.cgi?var=variable" The whole point of this was to later move it into the crontab so that once a day it would run this program on a website. Now... (4 Replies)
Discussion started by: sstevens
4 Replies

3. UNIX for Dummies Questions & Answers

lynx startup

how to add an GUI application in a lynx 9.0 server start up. replies appreciated. raguram R (4 Replies)
Discussion started by: raguramtgr
4 Replies

4. UNIX Desktop Questions & Answers

Lynx / Links

Is there a particular style that works better than the default for lynx / links / other text-browsers? Since my most commonly-used home machines have of RAM, I try to avoid XWindows / Netscape as much as possible. I have found, however, that the default isn't very easy to navigate in 24x80... (1 Reply)
Discussion started by: LivinFree
1 Replies

5. Shell Programming and Scripting

lynx

lynx Hi there , how to use this command ?? is it t to download files with any type(.zip,.exe,.xxx) ?? and i want example thx ... (1 Reply)
Discussion started by: XPS
1 Replies

6. UNIX for Dummies Questions & Answers

Lynx - Downloading - extension handling - changing mime type?

Using Lynx, when I try to download a .rar, it confirms I want to download and its got it as an appication/rar file. However, split archives that end in .r## (.r00, .r01 ...) are not recognized as an appication/rar file and it reads the file like a .txt or .html. How can I fix this? Thanks! (2 Replies)
Discussion started by: yitzle
2 Replies

7. Cybersecurity

Is there any Javascript things for Lynx?

Just wondered if anyone knows of a Javascript thing for Lynx, would be happy to be able to enter even such pages... Please answer if you know something about it... I'm using Linux 2.2.19, Slackware and Lynx 2.8.3... Thanks for answering...=) (7 Replies)
Discussion started by: zeus
7 Replies

8. UNIX for Dummies Questions & Answers

lynx browser + SSL

I want to browse to java.sun.. to download Java JDK I built openSSL then tried to build lynx to use it by: ./configure --with-ssl It finds the ssl .h files but cant link, last 3 lines from .configure are: checking for openssl include directory... yes checking if we can link to ssl... (6 Replies)
Discussion started by: mikebgx
6 Replies

9. UNIX for Dummies Questions & Answers

I'm a noob at Lynx...

So... I'm using lynx on a Mac... I didn't know that the whole dang thing is in Terminal? I rarely use terminal. I can't even figure out how to start the thing up. I type in lynx into it and press enter... And the cursor just goes down. Nothing happens like the FAQ websites describe. I feel so... (6 Replies)
Discussion started by: yennster
6 Replies

10. Shell Programming and Scripting

lynx

theres a form with these fields <form name="cpgform" id="cpgform" method="post" action="update.php"> <input type="text" name="user" size="30" class="textinput" /> <input type="password" name="pass" size="30" class="textinput" /> <input type="hidden" name="method" value="admin" />... (1 Reply)
Discussion started by: vanessafan99
1 Replies
man2html(1)						      General Commands Manual						       man2html(1)

NAME
man2html - format a manual page in html SYNOPSIS
man2html [options] [file] DESCRIPTION
man2html converts a manual page as found in file (or stdin, in case no file argument, or the argument "-", is given) from man-style nroff into html, and prints the result on stdout. It does support tbl but does not know about eqn. The exit status is 0. If something goes wrong, an error page is printed on stdout. This can be used as a stand-alone utility, but is mainly intended as an auxiliary, to enable users to browse their man pages using a html browser like lynx(1), xmosaic(1) or netscape(1). The main part of man2html is the troff-to-html engine written by Richard Verhoeven (rcb5@win.tue.nl). It adds hyperlinks for the following constructs: foo(3x) "http://localhost/cgi-bin/man/man2html?3x+foo" method://string "method://string" www.host.name "http://www.host.name" ftp.host.name "ftp://ftp.host.name" name@host "mailto:name@host" <string.h> "file:/usr/include/string.h" (The first of these can be tuned by options - see below.) No lookup is done - the links generated need not exist. Also an index with internal hyperlinks to the various sections is generated, so that it is easier to find one's way in large man pages like bash(1). OPTIONS
When reading from stdin, it is not always clear how to do .so expansion. The -D option allows a script to define the working directory. -D pathname Strip the last two parts from the pathname, and do a chdir(dir) before starting the conversion. The -E option allows the easy generation of error messages from a cgi script. -E string Output an error page containing the given error message. The general form of a hyperlink generated for a man page reference is <method:cgipath><man2htmlpath><separator><manpage> with a default as shown above. The parts of this hyperlink are set using the various options. -h Set method:cgipath to http://localhost. -H host[.domain][:port] Set method:cgipath to http://host.domain:port. -l Set method:cgipath to lynxcgi:/usr/lib. -L dir Set method:cgipath to lynxcgi:dir. -M man2htmlpath Set the man2htmlpath to use. The default is /cgi-bin/man/man2html. -p Set separator to '/'. -q Set separator to '?'. This is the default. -r Use relative html paths, instead of cgi-bin paths. On a machine without running httpd, one can use lynx to browse the man pages, using the lynxcgi method. When some http daemon is running, lynx, or any other browser, can be used to browse the man pages, using the http method. The option -l (for `lynxcgi') selects the former behaviour. With it, the default cgipath is /usr/lib. In general, a cgi script can be called by <path_to_script>/<more_path>?<query> and the environment variables PATH_INFO and QUERY_STRING will be set to <more_path> and <query>, respectively. Since lynxcgi does not han- dle the PATH_INFO part, we generate hyperlinks with `?' as a separator by default. The option -p (for `path') selects '/' as a separator, while the option -q (for `query') selects '?' as a separator. The option -H host will specify the host to use (instead of localhost). A cgi script could use man2html -H $SERVER_NAME if the variable SERVER_NAME is set. This would allow your machine to act as a server and export man pages. BUGS
There are many heuristics. The output will not always be perfect. The lynxcgi method will not work if lynx was compiled without selecting support for it. There may be problems with security. AUTHOR
Richard Verhoeven was the original author of man2html. Michael Hamilton and Andries Brouwer subsequently improved on it. Federico Lucifredi <flucifredi@acm.org> is the current maintainer. SEE ALSO
lynx(1), man(1), hman(1) 1 January 1998 man2html(1)
All times are GMT -4. The time now is 04:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy