Questions tagged [w3m]

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.

37 questions
10
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 준영
  • 119,377
  • 159
  • 417
  • 655
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
  • 6,657
  • 9
  • 46
  • 79
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,718
  • 1
  • 17
  • 30
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
  • 560
  • 3
  • 11
4
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
  • 231
  • 2
  • 12
4
votes
1 answer

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…
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,267
  • 2
  • 27
  • 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: http://imgur.com/a/AdshZ When I close the browser,…
Arya
  • 1,017
  • 12
  • 27
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?
Sandeep
  • 1,746
  • 2
  • 18
  • 35
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
2 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
  • 21
  • 1
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,775
  • 1
  • 30
  • 47
2
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
  • 55
  • 1
  • 5
2
votes
2 answers

Link extraction from a google page in bash

I'm making a script that takes all the links from a google page in bash. I get the google page with the w3m utility and this script: #!/bin/bash # performs a google search using a word in input word=$1 touch .google if [ -z $word ] then …
Epilogue
  • 63
  • 8
1
vote
1 answer

bdw-gc install failed on lion with brew

i am install w3m with brew on lion. when i use the origin formula the installation is filed. then i following the issues 7068 of homebrew update the bdw-gc.rb formula script require 'formula' class BdwGc < Formula # url…
luozengbin
  • 295
  • 1
  • 11
1
2 3