]>
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+ | |
7 | ||
8 | This file is part of systemd. | |
9 | ||
10 | Copyright 2016 Lennart Poettering | |
11 | ||
12 | systemd is free software; you can redistribute it and/or modify it | |
13 | under the terms of the GNU Lesser General Public License as published by | |
14 | the Free Software Foundation; either version 2.1 of the License, or | |
15 | (at your option) any later version. | |
16 | ||
17 | systemd is distributed in the hope that it will be useful, but | |
18 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
20 | Lesser General Public License for more details. | |
21 | ||
22 | You should have received a copy of the GNU Lesser General Public License | |
23 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
24 | --> | |
25 | ||
21ac6ff1 | 26 | <refsect1> |
6e16066e LP |
27 | <title>Environment</title> |
28 | ||
29 | <variablelist class='environment-variables'> | |
30 | <varlistentry id='pager'> | |
31 | <term><varname>$SYSTEMD_PAGER</varname></term> | |
32 | ||
33 | <listitem><para>Pager to use when <option>--no-pager</option> is not given; overrides | |
34 | <varname>$PAGER</varname>. If neither <varname>$SYSTEMD_PAGER</varname> nor <varname>$PAGER</varname> are set, a | |
35 | set of well-known pager implementations are tried in turn, including | |
98e9d710 ZJS |
36 | <citerefentry project='man-pages'><refentrytitle>less</refentrytitle><manvolnum>1</manvolnum></citerefentry> and |
37 | <citerefentry project='man-pages'><refentrytitle>more</refentrytitle><manvolnum>1</manvolnum></citerefentry>, until one is found. If | |
6e16066e LP |
38 | no pager implementation is discovered no pager is invoked. Setting this environment variable to an empty string |
39 | or the value <literal>cat</literal> is equivalent to passing <option>--no-pager</option>.</para></listitem> | |
40 | </varlistentry> | |
41 | ||
42 | <varlistentry id='less'> | |
43 | <term><varname>$SYSTEMD_LESS</varname></term> | |
44 | ||
45 | <listitem><para>Override the options passed to <command>less</command> (by default | |
46 | <literal>FRSXMK</literal>).</para></listitem> | |
47 | </varlistentry> | |
48 | ||
49 | <varlistentry id='lesscharset'> | |
50 | <term><varname>$SYSTEMD_LESSCHARSET</varname></term> | |
51 | ||
52 | <listitem><para>Override the charset passed to <command>less</command> (by default <literal>utf-8</literal>, if | |
53 | the invoking terminal is determined to be UTF-8 compatible).</para></listitem> | |
54 | </varlistentry> | |
55 | ||
56 | </variablelist> | |
21ac6ff1 | 57 | </refsect1> |