kevans e9d18a0795 ls(1): Add --color=when
--color may be set to one of: 'auto', 'always', and 'never'.

'auto' is the default behavior- output colors only if -G or COLORTERM are
set, and only if stdout is a tty.

'always' is a new behavior- output colors always. termcap(5) will be
consulted unless TERM is unset or not a recognized terminal, in which case
ls(1) will fall back to explicitly outputting ANSI escape sequences.

'never' to turn off any environment variable and -G usage.

Reviewed by:	cem, 0mp (both modulo last-minute manpage changes
Differential Revision:	https://reviews.freebsd.org/D16741
2018-08-17 04:15:51 +00:00
..
2017-10-31 00:07:04 +00:00
2018-08-15 23:18:34 +00:00
2017-12-07 01:57:27 +00:00
2018-08-17 04:15:51 +00:00
2018-06-13 00:45:35 +00:00
2017-10-31 00:07:04 +00:00
2018-06-17 05:14:50 +00:00
2017-10-31 00:07:04 +00:00
2018-08-15 23:18:34 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-06 08:43:14 +00:00