Running the lynx text web browser inside emacs
Question
Lynx is a pretty cool text browser. How to launch it from emacs?
My current approach is Mx shell
, then lynx
. But it prompts me for my terminal type (which I don't know - I use terminal and GUI Emacs on GNOME). The default option makes the output barely readable.
Solution
See this page on the emacswiki. I use emacs-w3m
which works with w3m
and can be configured to use the lynx
bindings. There is also emacs-xwidgets
, it's not stable but it mostly works.
However if you really want to use lynx
you can try with M-xterm
RET.
OTHER TIPS
Given that the accepted answer is able to solve the problem, an off-the-shelf solution does exist, which is also mentioned by @phils in the comment
M-x ansi-term
- At the prompt “Run program:”, instead of the default
/bin/sh
, enterlynx
instead. - Do whatever legitimate within lynx, such as pressing
g
and then entering a URL
Reference: Term And Lynx @ EmacsWiki
Or you can try to use web browsers built in emacs, such as eww, which in my opinion provides better compatibility than Lynx does.
After googling for a while I found this nero-el. Seems no development is being done now.