add err msg when xterm is in 8 color mode