TUI: xterm now refers to colours properly, and has 256 colours in the not-bright table
TUI: initial attempt at xterm 256-colour support