Comment 1 for bug 900309

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hmm, I don't quite understand what situation we're trying to protect against here, that we're not already handling.

What's the actual problem, and how do I reproduce it?

We currently do this:
                # Check if our terminfo supports 256 colors
                if command -v tput >/dev/null; then
                        if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then
                                SCREEN_TERM="-T screen-256color"
                        fi
                fi

What situations are not handled/detected by that?