w3m is a text-based web browser as well as a pager like `more' or `less'. With w3m you can browse web pages through a terminal emulator window (xterm, rxvt or something like that). Moreover, w3m can be used as a text formatting tool which typesets HTML into plain text.
Questions tagged [w3m]
42 questions
11
votes
3 answers
How can you use Javascript in terminal for w3m?
I found the text browser w3m which is the best so far in my opinion.
However, it is main problem is Javascript.
I cannot see comments at all in Stackoverflow when I use it.
I am not sure what is the restriction in letting Javascript to be in…

Léo Léopold Hertz 준영
- 134,464
- 179
- 445
- 697
7
votes
2 answers
How to wait for an event in Emacs Lisp function?
I'm trying to write the simplest function: send a query to w3m browser and then find a particular place on the webpage:
(defun w3m-define-word (word)
(interactive "sDefine: ")
(progn (w3m-search "Dictionary" word)
(set-window-start nil…

Anton Tarasenko
- 8,099
- 11
- 66
- 91
7
votes
1 answer
bash: find -exec and filenames
I want to strip the HTML out of few hundred files.
Here's the command I've started with:
find -name *.html -exec w3m {} > w3m {}.html.out \;
The problem I've run into is that it created one single large .htm.out file (named {}.html.out) -- I want…

andyhky
- 1,798
- 1
- 17
- 30
6
votes
3 answers
How can I disable the exit confirmation while trying to quit w3m?
Is there a way to remove Do you want to exit w3m? (y/n) from prompting after I press q to exit the application?

Eric Yun
- 61
- 2
6
votes
1 answer
Display contents of remote HTML in Emacs
I am aware about w3m integration with Emacs but I am exhausted to make it run on my W7/x64: there is a permanent segmentation fault of w3m binary here.
I wonder if there is an alternative way to display remote HTML in Emacs possibly preliminary…

zweibaranov
- 570
- 4
- 11
5
votes
1 answer
Dumping html source using w3m gives unexpected characters/symbols
As a new user of w3m I am trying to do something basic like:
w3m -dump_source nytimes.com > nytimes.html
The output produced gives crazy characters and symbols. However, when I browse using w3m nytimes, it loads properly, and I can even view the…

user1311034
- 261
- 2
- 14
4
votes
2 answers
Why is bash (WSL) using w3m as it's default browser?
Bash on Ubuntu on Windows 10 is using w3m to open URLs inside the terminal instead of opening Chrome or Edge. How can I get it to launch the Windows default web browser?
For example, the following…

theNathanielWatkins
- 161
- 1
- 10
4
votes
3 answers
How to set user agent in w3m
I'm using w3m. How do I go about overriding the user agent of this text based web browser? I have tried setting -header "User-Agent: blah" as an example, but I get the following error:
w3m: Can't load blah.

Hengjie
- 4,598
- 2
- 30
- 35
3
votes
1 answer
Jupyter opening up in w3c?
I've installed Jupyter via pip on the windows/ubuntu subsystem. Everything seems to be going well, however, when I try running Jupyter, it opens up the page in the w3m browser. Here is a screenshot: https://i.stack.imgur.com/WhgqW.jpg
When I close…

Arya
- 1,382
- 2
- 15
- 36
3
votes
1 answer
Emacs w3m export highlighted area as text
How can I copy text from emacs-w3m when the content is placed in a table? Currently, it copies the table-formatting and boundaries as well. Is there a export as text for w3m?

Kabira K
- 1,916
- 2
- 22
- 38
3
votes
2 answers
Get the source code of website using lynx
As I can access the source code with lynx, w3m, links, etc. protected with a form.
lynx -source -auth=user:pass domain.com
lynx -source -accept_all_cookies -auth=user:pass domain.com
lynx -accept_all_cookies -auth=user:pass domain.com
all fail…

user1847844
- 77
- 2
- 7
3
votes
1 answer
w3m: Can't load http://localhost:8080
I get this message when i try to running jenkins (localhost:8080) on a debian server.
Do you have any idea about what's wrong ?
Thanks!

BaderTech
- 31
- 1
- 4
2
votes
0 answers
w3m: fake JavaScript and user-agent
I use w3m to search words in the Spanish dictionary (dle.rae.es), so I'm using a bash script with this line:
w3m "https://dle.rae.es/$1"
The filename of the script is defes. For example, to search the meaning of "casa" I type defes casa, viewing…

Unix
- 1,358
- 3
- 14
- 23
2
votes
0 answers
Does w3m access image links?
To display text/html e-mail in mutt, I'm using w3m. Following the EFAIL announce, I am wondering if w3m is accessing the
tags when it render a page (not to display the image, but maybe for accessing metadata like the size or the timestamp) ?…

Vinz
- 5,997
- 1
- 31
- 52
2
votes
0 answers
web browser on ubuntu server ERROR:browser_main_loop.cc(237) Gtk: cannot open display
Question/Problem
I am getting an error message when I am trying to run a web browser from the terminal.
The error message is basically: ...ERROR:browser_main_loop.cc(237) Gtk: cannot open display...
How can I correct this problem/get a browser to…

Reed Williams
- 337
- 1
- 5
- 10