From 244e661fbca7bf0c9d7e91d3bf5e569adff95a89 Mon Sep 17 00:00:00 2001 From: Adam Procio Date: Fri, 25 Oct 2024 22:35:09 +0200 Subject: mblaze.7: document configuring terminal colors Closes #267. Co-authored-by: Adam Procio --- man/mblaze.7 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'man') diff --git a/man/mblaze.7 b/man/mblaze.7 index da2aebf..e659665 100644 --- a/man/mblaze.7 +++ b/man/mblaze.7 @@ -197,6 +197,44 @@ For scripting, you must make these arguments explicit. .Pp For configuration, see .Xr mblaze-profile 5 . +.Sh COLORS +.Nm +color output of +.Xr mshow 1 +and +.Xr mscan 1 +can be configured via environment variables starting with MCOLOR_. For example: +.Dl export MCOLOR_FROM=226 +.Pp +will turn the color of From= header line to bright yellow. +.Pp +All programmable colors: +.Bl -tag -width 15n -compact +.It Ev MCOLOR_CUR +current message in mless +.It Ev MCOLOR_DIFF_D +diff deleted lines +.It Ev MCOLOR_DIFF_I +diff inserted lines +.It Ev MCOLOR_DIFF_R +diff line range +.It Ev MCOLOR_FOOTER +footer +.It Ev MCOLOR_FROM +from header line +.It Ev MCOLOR_HEADER +rest of header +.It Ev MCOLOR_QUOTE +quote +.It Ev MCOLOR_QQUOTE +double-nested quote +.It Ev MCOLOR_QQQUOTE +triple-nested quote +.It Ev MCOLOR_SEP +message separator +.It Ev MCOLOR_SIG +message signature +.El .Sh SEE ALSO .Xr mailx 1 , .Xr mblaze-profile 5 , -- cgit 1.4.1