Most terminals lie about how many colors they actually support, and most utilities like termcap rely on the $TERM variable to tell them what's up. So we need a process for getting the actual number of colors supported and then changing $TERM to what it should've been in the first place.
Most terminals lie about how many colors they actually support, and most utilities like termcap rely on the
$TERM
variable to tell them what's up. So we need a process for getting the actual number of colors supported and then changing$TERM
to what it should've been in the first place.