Check what $TERM is, and not isn't.