diff options
author | Karel Zak | 2014-03-11 10:05:32 +0100 |
---|---|---|
committer | Karel Zak | 2014-03-11 10:05:32 +0100 |
commit | 60ec67ff4e82cf22d37fb6850256839d53cfedce (patch) | |
tree | f1cf86aab9fd740f3b5327bd4527e4b93b0dd1f2 /lib | |
parent | lib/colors: check for /etc/terminal-colors.d/[util].disable (diff) | |
download | kernel-qcow2-util-linux-60ec67ff4e82cf22d37fb6850256839d53cfedce.tar.gz kernel-qcow2-util-linux-60ec67ff4e82cf22d37fb6850256839d53cfedce.tar.xz kernel-qcow2-util-linux-60ec67ff4e82cf22d37fb6850256839d53cfedce.zip |
lib/colors: add info to man pages, add terminal-colors.d.5
Co-Author: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makemodule.am | 2 | ||||
-rw-r--r-- | lib/terminal-colors.d.5 | 25 |
2 files changed, 27 insertions, 0 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am index 6a4787f1f..0e2aa2491 100644 --- a/lib/Makemodule.am +++ b/lib/Makemodule.am @@ -43,6 +43,8 @@ if HAVE_CPU_SET_T libcommon_la_SOURCES += lib/cpuset.c endif +dist_man_MANS += lib/terminal-colors.d.5 + check_PROGRAMS += \ test_at \ test_blkdev \ diff --git a/lib/terminal-colors.d.5 b/lib/terminal-colors.d.5 new file mode 100644 index 000000000..8a97af747 --- /dev/null +++ b/lib/terminal-colors.d.5 @@ -0,0 +1,25 @@ +.\" terminal-colors.d.5 -- +.\" Copyright 2014 Ondrej Oprala <ooprala@redhat.com> +.\" Copyright (C) 2014 Karel Zak <kzak@redhat.com> +.\" Copyright 2014 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH "TERMINAL_COLORS\&.D" "5" "January 2014" "util-linux" "terminal-colors.d" +.SH "NAME" +terminal-colors.d \- Configure output colorization for various utilities +.SH "SYNOPSIS" +.PP +/etc/terminal-colors\&.d/[util-name\&.]disable +.SH "DESCRIPTION" +Files in this directory determine the default behaviour for utilities +when coloring output. + +The file +.B disable +turns off output colorization for all utilities compatible with config files in +.B /etc/terminal-colors\&.d. +.PP +.SH AVAILABILITY +terminal-colors.d is part of the util-linux package and is available from +.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . |