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.

有帮助吗?

解决方案

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-xtermRET.

其他提示

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

  1. M-x ansi-term
  2. At the prompt “Run program:”, instead of the default /bin/sh, enter lynx instead.
  3. 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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top