Content-Transfer-Encoding: binary MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-RT-Interface: Web In-Reply-To: Content-Disposition: inline X-RT-Original-Encoding: utf-8 References: <20171024162131.GB4323@isc.org> <20171031172551.GA99835@isc.org> X-Mailer: MIME-tools 5.508 (Entity 5.508) Message-ID: RT-Send-CC: Content-Length: 545 On Tue Oct 31 17:25:55 2017, each@isc.org wrote: > > BTW I agree about your proposal to fix conf.sh. > > Note that "tput setaf 0" returns 1 too with a black > > and white terminal as vt220. > > I guess something like this would work? => like this but not this (tput sgr0 returns 0 with vt220) > diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in > -if test -t 1 && type tput > /dev/null 2>&1 ; then > +if test -t 1 && type tput > /dev/null 2>&1 && tput sgr0 > /dev/null 2>&1 ; => IMHO you need to use "tput setaf 0" too.