You are not logged in.

#1 2015-10-15 04:53:00

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Lynx as pager, config problems.

Hi all.

I want to use lynx to prettify output for newsbeuter and mutt, but I can't figure out how to get it to work right. As it stands I can get newsbeuter to output the home page of lynx but not the actual articles. W3M works with

w3m -dump -cols 125 -S -T text/html

and am trying to find lynx's equivalent.

Last edited by felixculpa (2015-10-15 04:53:49)

Offline

#2 2015-10-15 15:46:23

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Lynx as pager, config problems.

Reading the manpage I'd suggest using 'lynx -stdin'.


1000

Offline

#3 2015-10-15 15:51:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: Lynx as pager, config problems.

I don't use newsbeuter, but for mutt, have you seen this:
https://wiki.archlinux.org/index.php/Mutt#Viewing_HTML


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#4 2015-10-15 16:45:36

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Re: Lynx as pager, config problems.

Trilby wrote:

I don't use newsbeuter, but for mutt, have you seen this:
https://wiki.archlinux.org/index.php/Mutt#Viewing_HTML

This works, but I was expecting lynx to give pretty colors for html. As it is now it's almost no different than using w3m, I think I may need to fiddle with my muttrc color settings more.

Offline

#5 2015-10-15 17:30:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: Lynx as pager, config problems.

I don't think you'll have success there.  You can set mutt up to view the email in an external program, and you can have lynx be this program.  But with the 'normal' set up the html is piped through lynx or w3m so you are not actually viewing it in the browser: you are viewing the text output from the browser in mutt's build in pager.

EDIT: well, you *can* have mutt color various bits of the text based on regex matches, but mutt does not get color information from lynx.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

Board footer

Powered by FluxBB