newboat bidi

newboat bidi

Boruch Baum boruch_baum at gmx.com
Tue Apr 9 15:48:34 IDT 2019


On 2019-04-09 15:27, Efraim Flashner wrote:
> On Mon, Apr 08, 2019 at 01:19:29PM -0400, Boruch Baum wrote:
> > Does anyone on-list have advice for how to configure a command-line rss
> > reader (ie. newsboat/newsbeuter) for Hebrew feeds so the bidi displays
> > properly?
> >
>
> from man newsboat:
>
> pager (parameters: [<command>/internal]; default value: internal) If
>            set to internal, then the internal pager will be used.
>            Otherwise, the article to be displayed will be rendered to
>            be a temporary file and then displayed with the configured
>            pager. If the command is set to an empty string, the
>            content of the "PAGER" environment variable will be used.
>            If the command contains a placeholder %f, it will be
>            replaced with the temporary filename. (example: pager "less
>            %f")
>
> so you could set 'bidiv' as the pager for newsboat. Alternatively you
> could bind a key to pipe those articles to bidiv.

Yes, I did read the man page before posting. I had thought about both
those options before posting, and did try the pipe idea. Both ideas only
address RTL in actual article text, not for the article headline screen
(ie. the listing of articles lists each headline in reverse). The pipe
idea would actually need to be something like "bidiv |less"; 'less'
isn't a great choice though, because it doesn't deal nicely with
embedded links, so what turns out to be better is just to pipe the
output to emacsclient, without the bidiv. Still doesn't address the
reversed text of the article listing screen, though.


-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



More information about the Linux-il mailing list