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