Le 5/08/2017 à 23:39, Thorsten Glaser a écrit : > The C function isatty() on the output filedescriptor, but in a > build helper like that I’d expect it to always be disabled.
I tried istty() but it's disabled when using pbuilder even if the terminal supports colors. I used 'tput colors' in maven-debian-helper 2.2.3 to detect if the colors are supported, but the escape sequences still appear in the reproducible build logs. I'd like to avoid disabling the colors completely, if someone has a good idea I'm interested. Emmanuel Bourg