Simplify tput detection