diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-04-13 09:20:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-04-15 16:30:57 +0200 |
commit | f4ff71b360590974d4f3c10bfc2d3382d8f50295 (patch) | |
tree | db075b8365b9f540204097bc7ff9b3ce2c06e730 /man | |
parent | 3614df0575592a51d2296afd974947318b41855b (diff) | |
download | systemd-f4ff71b360590974d4f3c10bfc2d3382d8f50295.tar.gz |
man: update os-release(5) to use 24bit ANSI color in example
Given that ANSI_COLOR= is mostly about branding it probably makes sense
to use RGB rather than paletted colors for them, so that the colors
match the project design as close as possible. Hence, provide a 25bit
RGB example for ANSI_COLOR, and update the overall example to something
newer.
Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1823099
Diffstat (limited to 'man')
-rw-r--r-- | man/os-release.xml | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/man/os-release.xml b/man/os-release.xml index 5a5e318f75..a2e3d0d8ac 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -192,13 +192,11 @@ <varlistentry> <term><varname>ANSI_COLOR=</varname></term> - <listitem><para>A suggested presentation color when showing - the OS name on the console. This should be specified as string - suitable for inclusion in the ESC [ m ANSI/ECMA-48 escape code - for setting graphical rendition. This field is optional. - Example: <literal>ANSI_COLOR="0;31"</literal> for red, or - <literal>ANSI_COLOR="1;34"</literal> for light - blue.</para></listitem> + <listitem><para>A suggested presentation color when showing the OS name on the console. This should + be specified as string suitable for inclusion in the ESC [ m ANSI/ECMA-48 escape code for setting + graphical rendition. This field is optional. Example: <literal>ANSI_COLOR="0;31"</literal> for red, + <literal>ANSI_COLOR="1;34"</literal> for light blue, or + <literal>ANSI_COLOR="0;38;2;60;110;180"</literal> for Fedora blue.</para></listitem> </varlistentry> <varlistentry> @@ -220,7 +218,7 @@ <term><varname>BUG_REPORT_URL=</varname></term> <term><varname>PRIVACY_POLICY_URL=</varname></term> - <listitem><para>Links to resources on the Internet related to + <listitem><para>Links to resources on the Internet related to the operating system. <varname>HOME_URL=</varname> should refer to the homepage of the operating system, or alternatively some homepage of the @@ -347,14 +345,24 @@ <title>Example</title> <programlisting>NAME=Fedora -VERSION="17 (Beefy Miracle)" +VERSION="32 (Workstation Edition)" ID=fedora -VERSION_ID=17 -PRETTY_NAME="Fedora 17 (Beefy Miracle)" -ANSI_COLOR="0;34" -CPE_NAME="cpe:/o:fedoraproject:fedora:17" +VERSION_ID=32 +PRETTY_NAME="Fedora 32 (Workstation Edition)" +ANSI_COLOR="0;38;2;60;110;180" +LOGO=fedora-logo-icon +CPE_NAME="cpe:/o:fedoraproject:fedora:32" HOME_URL="https://fedoraproject.org/" -BUG_REPORT_URL="https://bugzilla.redhat.com/"</programlisting> +DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/" +SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help" +BUG_REPORT_URL="https://bugzilla.redhat.com/" +REDHAT_BUGZILLA_PRODUCT="Fedora" +REDHAT_BUGZILLA_PRODUCT_VERSION=32 +REDHAT_SUPPORT_PRODUCT="Fedora" +REDHAT_SUPPORT_PRODUCT_VERSION=32 +PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy" +VARIANT="Workstation Edition" +VARIANT_ID=workstation</programlisting> </refsect1> <refsect1> |