From afc194a135fe6d3680e471eeb177961eeffbcfb3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 22 Apr 2024 12:39:30 +0200 Subject: [PATCH] man: say explicitly that $LESS + $LESSCHARSET have no effect on less invocations by systemd tools Fixes: #29479 --- man/common-variables.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/man/common-variables.xml b/man/common-variables.xml index 58a285c8335..2d26bf72428 100644 --- a/man/common-variables.xml +++ b/man/common-variables.xml @@ -146,6 +146,9 @@ + Note that setting the regular $LESS environment variable has no effect + for less invocations by systemd tools. + See less1 for more discussion. @@ -155,7 +158,10 @@ $SYSTEMD_LESSCHARSET Override the charset passed to less (by default utf-8, if - the invoking terminal is determined to be UTF-8 compatible). + the invoking terminal is determined to be UTF-8 compatible). + + Note that setting the regular $LESSCHARSET environment variable has no effect + for less invocations by systemd tools.