aded check for tigetnum, (not yet) used to get # terminal colours
comments