sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 68b559b084d7c765209c56b68a074f84aee39506
parent a31bc6d34c3fcb661470434c1b0324b826c3302f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 29 Jun 2017 21:00:54 +0200

sfeed_plain.1: document a proper LC_CTYPE UTF-8 is required

Diffstat:
Msfeed_plain.1 | 15+++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/sfeed_plain.1 b/sfeed_plain.1 @@ -1,4 +1,4 @@ -.Dd August 5, 2015 +.Dd June 29, 2017 .Dt SFEED_PLAIN 1 .Os .Sh NAME @@ -23,7 +23,18 @@ If no .Ar file parameters are specified and so the data is read from stdin the feed name is empty. -.Xr sfeed 1 +.Pp +.Nm +aligns the output. +It shows a maximum of 70 column-wide characters for the title and outputs +an ellipsis symbol if the title is longer and truncated. +Make sure the environment variable +.Ev LC_CTYPE +is set to a UTF-8 locale, so it can determine the proper column-width +per rune, using +.Xr mbtowc 3 +and +.Xr wcwidth 3 . .Sh SEE ALSO .Xr sfeed 1 , .Xr sfeed_html 1