add check for colored ls on openbsd. (retry of #2225)

Retry of PR#2225, with help from ncanceill.  Will close the old PR now.