Github messages for mblaze
 help / color / mirror / Atom feed
* [PR PATCH] Added a COLORS section to mblaze man page
@ 2024-10-25 20:46 Sponge5
  2024-10-25 20:46 ` Sponge5
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sponge5 @ 2024-10-25 20:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

There is a new pull request by Sponge5 against master on the mblaze repository

https://github.com/Sponge5/mblaze adam/colors-man-section
https://github.com/leahneukirchen/mblaze/pull/267

Added a COLORS section to mblaze man page
None

A patch file from https://github.com/leahneukirchen/mblaze/pull/267.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-adam/colors-man-section-267.patch --]
[-- Type: text/x-diff, Size: 1251 bytes --]

From 753fa34c73fca356926d66f1f31aad10a7fe6198 Mon Sep 17 00:00:00 2001
From: Adam Procio <adam.procio@gmail.com>
Date: Fri, 25 Oct 2024 22:35:09 +0200
Subject: [PATCH] ugly, I know

---
 man/mblaze.7 | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/man/mblaze.7 b/man/mblaze.7
index da2aebf4..c6176134 100644
--- a/man/mblaze.7
+++ b/man/mblaze.7
@@ -197,6 +197,30 @@ 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:
+.Dl MCOLOR_CUR - current mail in mless
+.Dl MCOLOR_DIFF_D - diff deleted lines
+.Dl MCOLOR_DIFF_I - diff inserted lines
+.Dl MCOLOR_DIFF_R - diff line range
+.Dl MCOLOR_FOOTER - footer
+.Dl MCOLOR_FROM - from header line
+.Dl MCOLOR_HEADER - rest of header
+.Dl MCOLOR_QQQUOTE - triple-nested quote
+.Dl MCOLOR_QQUOTE - double-nested quote
+.Dl MCOLOR_QUOTE - quote
+.Dl MCOLOR_SEP - separator
+.Dl MCOLOR_SIG - signature
 .Sh SEE ALSO
 .Xr mailx 1 ,
 .Xr mblaze-profile 5 ,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-26 15:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-25 20:46 [PR PATCH] Added a COLORS section to mblaze man page Sponge5
2024-10-25 20:46 ` Sponge5
2024-10-26 15:07 ` [PR PATCH] [Closed]: " leahneukirchen
2024-10-26 15:08 ` leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).