From 9387d1fe07fc34c3015d4bcda466e93490ec3868 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 26 Jul 2017 17:23:01 +0200 Subject: add mflow --- man/mblaze.7 | 2 ++ man/mflow.1 | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 man/mflow.1 (limited to 'man') diff --git a/man/mblaze.7 b/man/mblaze.7 index 13b37d0..d843968 100644 --- a/man/mblaze.7 +++ b/man/mblaze.7 @@ -30,6 +30,8 @@ find Maildir folders export Maildir folders as mailboxes .It Xr mflag 1 change flags (marks) of mail +.It Xr mflow 1 +reflow format=flowed plain text mails .It Xr mfwd 1 forward mail .It Xr mgenmid 1 diff --git a/man/mflow.1 b/man/mflow.1 new file mode 100644 index 0000000..63a2a23 --- /dev/null +++ b/man/mflow.1 @@ -0,0 +1,55 @@ +.Dd July 26, 2017 +.Dt MFLOW 1 +.Os +.Sh NAME +.Nm mflow +.Nd reflow format=flowed plain text mails +.Sh SYNOPSIS +.Nm +\&< +.Ar file +.Sh DESCRIPTION +.Nm +reformats the standard input according to the rules +of RFC 3676. +.Ev PIPE_CONTENTTYPE +is inspected, making this a suitable filter +for +.Sq text/plain +messages for +.Xr mshow 1 . +Mails not using +.Sq format=flowed +are output as is. +.Pp +Text is reflowed (where allowed) to +fit the width given in the environment variable +.Ev COLUMNS , +the terminal width, or 80 characters by default. +.Pp +If defined, +the environment variable +.Ev MAXCOLUMNS +specifies the maximum line length. +.Sh EXIT STATUS +.Ex -std +.Sh SEE ALSO +.Xr mshow 1 +.Rs +.%A R. Gellens +.%D February 2004 +.%R RFC 3676 +.%T The Text/Plain Format and DelSp Parameters +.Re +.Sh AUTHORS +.An Leah Neukirchen Aq Mt leah@vuxu.org +.Sh LICENSE +.Nm +is in the public domain. +.Pp +To the extent possible under law, +the creator of this work +has waived all copyright and related or +neighboring rights to this work. +.Pp +.Lk http://creativecommons.org/publicdomain/zero/1.0/ -- cgit 1.4.1