Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lynx]

Lynx is a cross platform, GPL licensed, text-mode web browser.

0
votes
1answer
76 views

lynx proxy authorization

A number of scripts on my system are relying on lynx which in turn can't pass through my proxy. More specifically, lynx successfully picks up the global proxy settings except the user id and password ...
1
vote
0answers
71 views

How do I set Lynx user agent string from .lynxrc

I can change the Lynx user agent by lynx -useragent "Lynx Foo" <url>. However, when I try to change the user agent in ~/.lynxrc, it does not take effect: /usr/local/etc/lynx.cfg: ENABLE_LYNXRC:...
1
vote
1answer
41 views

Does w3m support input type=“file” form fields?

I am trying to figure out a simple way to submit a file stored on a distant Ubuntu server to an HTML form on the web. The form uses <input type="file"> field. This seems to be not supported by ...
0
votes
1answer
85 views

Allow invalid path lynx

I have installed lynx using brew on macOS. It runs decently after me enabling all cookies http://www.pc-freak.net/blog/how-to-permanently-enable-cookies-in-lynx-text-browser-disable-accept-cookies-...
0
votes
1answer
67 views

How to get lynx to recognize whitespace in filenames

I'm using a script to find a list of all .pdf files on a url. But lynx seems to have a problem with spaces in filenames. Here's the script: lynx --dump http://www.somesite/here/ | awk '/http/{print $...
2
votes
1answer
290 views

Text file being identified as binary

Background I've been using lynx for a couple of years to dump automatically (via cron), process (using awk, sed, and tr), then mail (bsd-mailx) the contents of a web page. It's been working pretty ...
1
vote
1answer
100 views

How to download a web page content to a text file exactly as the web page is?

I am trying to extract some info from a web page. Imagine you have a name given to you (Northcentral Siberia, Russia) and want to extract whole line containing this name from a web page. To handle ...
25
votes
2answers
3k views

What is the official website for the lynx, text based webbrowser?

The: http://lynx.isc.org/ is not loading. Is it the https://lynx.invisible-island.net/ what is the official for the "lynx", the text-based webbrowser?
1
vote
2answers
94 views

Install and configure dolibarr process for AWS? [closed]

Getting to know AWS -- it's interesting. Running 16.04 xenial on AWS and looking to install dolibarr. On 17.10, where I have a GUI, dolibarr installs fine. Few questions about running web servers/...
1
vote
2answers
282 views

Different output from lynx -dump when run as cron job

For a couple of years now I've been "scraping," using lynx -dump, content from a web page containing non-latin characters. I save the page content to a file, which I then modify via the agency of sed, ...
0
votes
1answer
1k views

Why `lynx --dump` is not working

When I do lynx --dump http://data.iana.org/TLD/tlds-alpha-by-domain.txt It outputs the content on this web page but when I do lynx --dump https://code.wireshark.org/review/gitweb?p=wireshark.git;a=...
0
votes
1answer
547 views

curl wget - How to ignore the HTML Tag and headers [duplicate]

How to get only the content for web page what I see in browser... I don't want the headers and any HTML tag.. exp- http://www.linfo.org/cat.html.. I want only the content.. Please help
0
votes
1answer
488 views

Getting WISPr tags from a FON authentication portal

I am doing some investigation around wifi captive portals development. I would like to capture the WiSPr XML tags from a FON authentication captive portal (my neighbours have that active, I have ...
0
votes
2answers
3k views

Lynx: “can't access start file” … and quits

I tried using lynx (the text browser) and got the error: Can't access startfile: http://lynx.isc.org and then it quit (doh). So, the error message would seem to be incorrect because the problem is ...
0
votes
1answer
513 views

Use Lynx to download the source of the page I'm currently on

If I have a page open in Lynx, how can I download the source (HTML) of it?
1
vote
3answers
4k views

Lynx thinks all certificates are untrusted with my configuration file

I am trying to visit what I'm assuming is a valid ssl-certified page, https://google.com, but lynx always says SSL error:The certificate is NOT trusted. The certificate is...-Continue? (n) I haven't ...
2
votes
2answers
977 views

UTF-8 input in Lynx

In the web browser Lynx I have managed to make non-ASCII character display correctly with the setting CHARACTER_SET:UNICODE (UTF-8) in /etc/lynx-cur/lynx.cfg. I also tried ASSUME_CHARSET, it makes ...
0
votes
1answer
693 views

how to use lynx to “print” a web page? WYSIWYG

When I printed a page, as per the manual: Printing, Mailing, and Saving rendered files to disk. Rendered HTML documents, and plain text files, may be printed using the 'p' command while ...
2
votes
2answers
2k views

Lynx read urls from file and download links

I have 500 urls on my file. I need to extract all the links which appear on these urls. How to read file with Lynx and extract links within the file ? Sample of file.txt below, 1 link per row and ...
3
votes
0answers
415 views

Accessing Dropbox login page through lynx / elinks via ssh on aws

I'm trying to install Dropbox in an entirely text-based Linux environment, following the instructions available on Dropbox wiki, which states: Use a command-line browser (lynx) Navigate to the ...
3
votes
1answer
886 views

Lynx colors not applied

I have a lynx configuration file in ~/.lynx.cfg. To make lynx use it, I have in my environment $LYNX_CFG pointing at that file. Content: # Default COLOR:0:black:white # Hyperlinks COLOR:1:black:...
2
votes
2answers
665 views

Command line rebooting D-Link DWL-2100AP access point

I use Lynx web browser from remote SSH (so I have no GUI) to enter into the web interface of some router and access points. It works fine with some Ovislink and Buffalo models I have tested, but it ...
1
vote
2answers
2k views

How can I convert all the html files I get into text files after a wget command?

How can I convert all the html files I get into plain text files after a wget command? I'm thinking of using lynx to convert html files into ".txt" files, getting rid of tags. I have this snippet ...
9
votes
1answer
3k views

How to pipe html into lynx?

I am testing some ajax call from the console. I like get rid of the meta-information noise that is html markup and just read the content, hence I like to pipe it into a terminal browser, e.g. lynx. ...
1
vote
2answers
506 views

Prevent Lynx from using pdf viewer

I try to download a PDF file while browsing with lynx. Unfortunately, lynx tries to open that file immediately using a PDF viewer (evince) though I do not have an X server running. How can I prevent ...
3
votes
1answer
1k views

Change default web browser to lynx from terminal

I'm on Linux Mint Olivia. I just installed Lynx. How do I set Lynx as my browser, so when I open links from the terminal, they open in that terminal with Lynx?
2
votes
1answer
2k views

Get page in curl as text

Is there any option for curl that saves a page as text? I mean, in the same way a page can be saved in browser as Text Files. At least, Firefox has that option. I need it for a script, I simply ...
1
vote
1answer
166 views

Curl or Lynx: stripping Javascript possible?

I am doing corpus generation through curl or lynx of some web pages. I have written a program in bash to strip away the html code (e.g., when I do lynx -source myurl), but the problem is that some ...
2
votes
3answers
246 views

How to insert and delete new lines with LYNX?

I am editing a text field with lynx, how can I insert a new line before another line or delete a line? I tried hitting insert and all that stuff. I looked at the man pages and didn't find anything.
0
votes
3answers
789 views

Creating a script that runs a simple command for all files in a directory

I need to use the text-based browser Lynx to dump 1000s of html files into text files, with the same filename. For any given filename.html the command is lynx filename.html --force-html --dump > ...
1
vote
1answer
2k views

Submit a form without a submit button in Lynx?

There's a form on a website that looks like this: <form action="/some_action"> <input type="radio" name="opt" value="1"> Option 1 <input type="radio" name="opt" value="2"> Option 2 &...
1
vote
2answers
2k views

Navigation and images in Lynx text browser

I like the Lynx text browser because it works in a terminal and I figure it probably more or less completely immunizes me from browser-based security vulnerabilities. However... there are a couple of ...
3
votes
1answer
657 views

Force lynx or elinks to interpret spaces and line breaks

Consider the following commands, and their results : $ echo "<br/> <br/>a<br/>b<br/>c<br/><br/> <br/>"|lynx -dump -stdin a b c $ echo "<br/> &...
1
vote
1answer
2k views

Grab http requests by lynx

I need to grab and debug all HTTP-requests and responds which I make from lynx or another text-based browser. How can I save all request URLs, redirects, headers and page sources for analyze and debug ...
1
vote
0answers
180 views

lynx domain shows 404 error when running from localhost

I have a strange problem and I don't know where I have to take a look to fix the issue. I am running the command lynx https://example.com/index.php from the server where the website is hosted on and ...
2
votes
1answer
778 views

Lynx is trying to unzip my downloads

I am having a problem with the Lynx text browser. When I try to download a some tar.gz files, Lynx is not downloading it. It is putting it in a tmp directory and then trying to unpack it with the ...
1
vote
1answer
1k views

How do I configure lynx to pass images to xloadimage, xv or zvg?

I know that it's possible to configure lynx to pass images (PNG/GIF/JPEG/JPG) to xloadimage, xv or zvg and I've looked online (Description of lynx configuration; Use lynx with browser image support ; ...
0
votes
1answer
408 views

Lynx incremental search

I am trying to run an incremental search using lynx. Imagine a page, for example, an index_of page which contains several folders which also contain other subfolders and files. I want to run lynx in ...
2
votes
1answer
1k views

How to make Lynx COLUMN width infinite?

-width=NUMBER number of columns for formatting of dumps, default is 80. My question: "-width=999999" is not so good.. "-width=0" isn't working. How can I give the "-width" an infinite ...
3
votes
5answers
5k views

Do any text-based web browsers support unicode box-drawing characters?

I have some html like this: &#x250c&#x2500&#x2500&#x2500&#x2500&#x2500&#x2500&#x2500&#x2500 &#x2500&#x2500&#x2500&#x2500&#x2500&#x2500&...
6
votes
2answers
385 views

Customize Lynx's filetype behavior

I love lynx. I love browsing without tabs. Call me a luddite, but I only use a modern browser if I have to. Which is about twice a day, for a few minutes at most. There's one thing I really really ...
2
votes
1answer
2k views

Strange issue with curl/lynx and non resolving domains

I have a weird issue on my server in that if I use curl or lynx to try and access a URL that doesn't exist (say a non registered domain, or a domain that's not in DNS), I don't get an error, it ...
19
votes
1answer
8k views

Open html attachments externally in mutt

I recently managed to set up my mailcap so that mutt can show HTML e-mails in the message window: # ~/.mailcap text/html; lynx -dump '%s' | more; nametemplate=%s.html; copiousoutput; which is ...
4
votes
1answer
2k views

How do I build Lynx with SSL on Mac OS X?

I'd like to build and install Lynx on Mac OS X. I've found out that building is as simple as running ./configure, but I'm having trouble building with SSL support. I've downloaded openSSL. How do I ...
6
votes
1answer
2k views

Running cron script with lynx fails to work

I'm trying to automate a login process that can only be done through a browser. I am using the lynx browser to script the actions required to do this. Lynx does this by dumping a user's keystrokes ...
3
votes
1answer
549 views

Actively developed text browser

I am looking for "the modern" lynx/links/elinks fork or equivalent that's actively maintained and can be considered the most advanced of the genre, please. I have looked at this already: http://web-...
4
votes
2answers
195 views

How to turn off the help menu in Lynx

I have a really small space reserved to Lynx for a quick lookup, as I need that often. However, the "Help" menu takes a lot of space and I don't really need it now. The red oval is what I want to ...
8
votes
1answer
3k views

Converting html table into ncurses-like ascii table?

I have some documentation in an html table. I want to convert the table to an ascii table, like you see when you get a mysql command line result back, like this: +------------+------------+ | header ...
4
votes
1answer
1k views

Using URLs with parenthesis with Lynx

I often use Lynx on a remote computer to look at websites (faster than port-forwarding). Sometimes the URLs I want to go to have un-escaped characters (for example brackets) that Lynx seems to need ...