summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-06-29 21:00:54 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-06-29 21:00:54 +0200
commit68b559b084d7c765209c56b68a074f84aee39506 (patch)
tree540da9121d139790afd5f32848f3d620d2ea0803
parenta31bc6d34c3fcb661470434c1b0324b826c3302f (diff)
sfeed_plain.1: document a proper LC_CTYPE UTF-8 is required
-rw-r--r--sfeed_plain.115
1 files changed, 13 insertions, 2 deletions
diff --git a/sfeed_plain.1 b/sfeed_plain.1
index 9308f62..77c7c04 100644
--- 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