about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-08-24 19:11:22 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-08-24 19:11:22 +0200
commit5495fdd0c4e9ed67a22b786b33a1b26593183ebe (patch)
tree97dd4f6584f3cb367eaa3f9cc286f8ef5b6d9f26
parent147301d16c9da52b6058331705304dc2482520b6 (diff)
downloadmblaze-5495fdd0c4e9ed67a22b786b33a1b26593183ebe.tar.gz
mblaze-5495fdd0c4e9ed67a22b786b33a1b26593183ebe.tar.xz
mblaze-5495fdd0c4e9ed67a22b786b33a1b26593183ebe.zip
man/mshow.1: document $MAILFILTER, small tweaks
Closes #126.
-rw-r--r--man/mshow.121
1 files changed, 15 insertions, 6 deletions
diff --git a/man/mshow.1 b/man/mshow.1
index a71e0cc..992a0dc 100644
--- a/man/mshow.1
+++ b/man/mshow.1
@@ -1,4 +1,4 @@
-.Dd April 17, 2018
+.Dd August 24, 2018
 .Dt MSHOW 1
 .Os
 .Sh NAME
@@ -121,7 +121,11 @@ parts,
 and re-encodes them into UTF-8 if necessary.
 .Pp
 Other filters can be specified in the file
-.Pa ${MBLAZE:-$HOME/.mblaze}/filter ,
+.Pa ${MBLAZE:-$HOME/.mblaze}/filter
+.Po
+or via
+.Ev MAILFILTER
+.Pc ,
 in the format:
 .Pp
 .D1 Ar type/subtype Ns Li \&: Ar command
@@ -132,6 +136,7 @@ or
 will then spawn a pipe to
 .Ar command ,
 write the MIME part
+to standard input
 and display the output.
 The environment variable
 .Ev PIPE_CHARSET
@@ -158,6 +163,14 @@ part of this text/multipart part.
 All other exit statuses are regarded as errors.
 .Sh ENVIRONMENT
 .Bl -tag -width MBLAZE_NOCOLOR
+.It Ev MAILFILTER
+Path to an alternative
+.Pa filter
+file.
+.It Ev MBLAZE_NOCOLOR
+If non-empty,
+.Nm
+will not spawn a colorization filter.
 .It Ev MBLAZE_PAGER
 Any non-empty value of the environment variable
 .Ev MBLAZE_PAGER
@@ -166,10 +179,6 @@ is used instead of the standard pagination program, specified in
 When empty or set to
 .Sq Ic cat ,
 no pager is spawned.
-.It Ev MBLAZE_NOCOLOR
-If non-empty,
-.Nm
-will not spawn a colorization filter.
 .El
 .Sh EXIT STATUS
 .Ex -std