xterm is capable of 256 colors despite of tput -Txterm(-color) colors
returning only 8; other xterms may be unhappy with this but there's no
way to recognize true capabilities; if someone runs into problems or his
terminal disagree with those assumptions just use some other value, like
xterm-16color (or simply don't install highlight)
Changed files:
lesspipe.sh -> 1.40
fi
;;
*) case $TERM in
- xterm|xterm-color) output=xterm256;;
+ xterm|xterm-color|xterm*88color|xterm*256color) output=xterm256;;
*) output=ansi;;
esac
run-mailcap "$1" || \