Good point.  Although, unless there are shells that have &quot;tput&quot; built-in, that means more subprocesses to obtain basic information (which would slow down the result a bit).  In my case, the environment is sufficient to figure out what to do.