diff options
| author | Michael Biebl <biebl@debian.org> | 2023-03-09 20:01:53 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2023-03-09 20:01:53 +0100 |
| commit | cffb548b401e2cd3fad166aa92e0f634bbb1d4d6 (patch) | |
| tree | 6d803d8f7d0d92a1c5e5705974fff8975472af95 /man/nmcli.xml | |
| parent | 647d6b95d5475e0a1bf3d6f299d1cb8c9041a7a4 (diff) | |
| parent | 12e1ee797bbf0b10d1fd5afd4b947484769f2b9f (diff) | |
Merge tag 'debian/1.42.4-1' into debian/bullseye-backports
network-manager Debian release 1.42.4-1
Diffstat (limited to 'man/nmcli.xml')
| -rw-r--r-- | man/nmcli.xml | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/man/nmcli.xml b/man/nmcli.xml index 768087ea..1caafd31 100644 --- a/man/nmcli.xml +++ b/man/nmcli.xml @@ -2253,8 +2253,47 @@ unset or null.</para> </listitem> </varlistentry> - </variablelist> + <varlistentry> + <term><envar>NO_COLOR</envar></term> + <listitem> + <para>Default to not producing colored and paged output. The + <option>--colors</option> option, if used, takes precedence.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><envar>PAGER</envar></term> + <listitem> + <para>Filter to pipe the output through if it doesn't fit on a screen. + Can be a file name of an executable or a shell command. Empty string to + disable the functionality.</para> + + <para>Note that the pager command is expected to handle wide characters + and ANSI escape sequences for changing colors (unless they're disabled). + <command>nmcli</command> sets up the environment variables + <envar>LESS</envar> and <envar>LESSCHARSET</envar> appropriately for the + <citerefentry><refentrytitle>less</refentrytitle><manvolnum>1</manvolnum></citerefentry> + pager, other pagers may or may not need extra configuration.</para> + + <para>If unspecified, + <citerefentry><refentrytitle>pager</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry><refentrytitle>less</refentrytitle><manvolnum>1</manvolnum></citerefentry> + and <citerefentry><refentrytitle>more</refentrytitle><manvolnum>1</manvolnum></citerefentry> + will be tried (in that order).</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><envar>TERM</envar></term> + <listitem> + <para>Terminal type. If <literal>dumb</literal>, <command>nmcli</command> + will not use a pager or produce ANSI escape sequences for coloring.</para> + <para>Terminal types other than <literal>dumb</literal> are assumed to + support ASCII escape sequences for setting the output color.</para> + </listitem> + </varlistentry> + </variablelist> </refsect1> <refsect1 id='internationalization_notes'><title>Internationalization notes</title> |