]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/less-variables.xml
tree-wide: drop license boilerplate
[thirdparty/systemd.git] / man / less-variables.xml
CommitLineData
21ac6ff1
ZJS
1<?xml version="1.0"?>
2<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
12b42c76 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
21ac6ff1 4
f48f7543
ZJS
5<!--
6 SPDX-License-Identifier: LGPL-2.1+
7
8 This file is part of systemd.
9
10 Copyright 2016 Lennart Poettering
f48f7543
ZJS
11-->
12
21ac6ff1 13<refsect1>
6e16066e
LP
14 <title>Environment</title>
15
16 <variablelist class='environment-variables'>
17 <varlistentry id='pager'>
18 <term><varname>$SYSTEMD_PAGER</varname></term>
19
20 <listitem><para>Pager to use when <option>--no-pager</option> is not given; overrides
21 <varname>$PAGER</varname>. If neither <varname>$SYSTEMD_PAGER</varname> nor <varname>$PAGER</varname> are set, a
22 set of well-known pager implementations are tried in turn, including
98e9d710
ZJS
23 <citerefentry project='man-pages'><refentrytitle>less</refentrytitle><manvolnum>1</manvolnum></citerefentry> and
24 <citerefentry project='man-pages'><refentrytitle>more</refentrytitle><manvolnum>1</manvolnum></citerefentry>, until one is found. If
6e16066e
LP
25 no pager implementation is discovered no pager is invoked. Setting this environment variable to an empty string
26 or the value <literal>cat</literal> is equivalent to passing <option>--no-pager</option>.</para></listitem>
27 </varlistentry>
28
29 <varlistentry id='less'>
30 <term><varname>$SYSTEMD_LESS</varname></term>
31
32 <listitem><para>Override the options passed to <command>less</command> (by default
33 <literal>FRSXMK</literal>).</para></listitem>
34 </varlistentry>
35
36 <varlistentry id='lesscharset'>
37 <term><varname>$SYSTEMD_LESSCHARSET</varname></term>
38
39 <listitem><para>Override the charset passed to <command>less</command> (by default <literal>utf-8</literal>, if
40 the invoking terminal is determined to be UTF-8 compatible).</para></listitem>
41 </varlistentry>
42
43 </variablelist>
21ac6ff1 44</refsect1>