]>
Commit | Line | Data |
---|---|---|
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+ | |
f48f7543 ZJS |
7 | --> |
8 | ||
21ac6ff1 | 9 | <refsect1> |
6e16066e LP |
10 | <title>Environment</title> |
11 | ||
12 | <variablelist class='environment-variables'> | |
13 | <varlistentry id='pager'> | |
14 | <term><varname>$SYSTEMD_PAGER</varname></term> | |
15 | ||
16 | <listitem><para>Pager to use when <option>--no-pager</option> is not given; overrides | |
17 | <varname>$PAGER</varname>. If neither <varname>$SYSTEMD_PAGER</varname> nor <varname>$PAGER</varname> are set, a | |
18 | set of well-known pager implementations are tried in turn, including | |
98e9d710 ZJS |
19 | <citerefentry project='man-pages'><refentrytitle>less</refentrytitle><manvolnum>1</manvolnum></citerefentry> and |
20 | <citerefentry project='man-pages'><refentrytitle>more</refentrytitle><manvolnum>1</manvolnum></citerefentry>, until one is found. If | |
6e16066e LP |
21 | no pager implementation is discovered no pager is invoked. Setting this environment variable to an empty string |
22 | or the value <literal>cat</literal> is equivalent to passing <option>--no-pager</option>.</para></listitem> | |
23 | </varlistentry> | |
24 | ||
25 | <varlistentry id='less'> | |
26 | <term><varname>$SYSTEMD_LESS</varname></term> | |
27 | ||
28 | <listitem><para>Override the options passed to <command>less</command> (by default | |
29 | <literal>FRSXMK</literal>).</para></listitem> | |
30 | </varlistentry> | |
31 | ||
32 | <varlistentry id='lesscharset'> | |
33 | <term><varname>$SYSTEMD_LESSCHARSET</varname></term> | |
34 | ||
35 | <listitem><para>Override the charset passed to <command>less</command> (by default <literal>utf-8</literal>, if | |
36 | the invoking terminal is determined to be UTF-8 compatible).</para></listitem> | |
37 | </varlistentry> | |
38 | ||
39 | </variablelist> | |
21ac6ff1 | 40 | </refsect1> |