On Oct 25, 2017, at 2:51 PM, Mathieu Lirzin <m...@gnu.org> wrote:
> 
> Warren Young <war...@etr-usa.com> writes:
> 
>> As for the portability of ANSI terminal escape codes, it’s still best
>> to delegate such things to curses or libraries like it, despite the
>> near ubiquity of ANSI-family terminal emulators.

I didn’t quite finish that thought: “…because at the very least, you can then 
say 'TERM=dumb myprogram’ to strip terminal escape codes on an ad hoc basis.”

> Colors are already automatically used when possible [1] and can be
> disabled with the AM_COLOR_TESTS environment variable.

Right on.

Any reason it doesn’t back that up with “test -t 1”, though?

Reply via email to