packages: lesspipe/lesspipe.sh - consider xterm[-+](88|256)color understand...
gotar
gotar at pld-linux.org
Thu Jun 4 13:03:38 CEST 2009
Author: gotar Date: Thu Jun 4 11:03:38 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- consider xterm[-+](88|256)color understanding more colors; note: PLD
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)
---- Files affected:
packages/lesspipe:
lesspipe.sh (1.39 -> 1.40)
---- Diffs:
================================================================
Index: packages/lesspipe/lesspipe.sh
diff -u packages/lesspipe/lesspipe.sh:1.39 packages/lesspipe/lesspipe.sh:1.40
--- packages/lesspipe/lesspipe.sh:1.39 Thu May 28 12:51:38 2009
+++ packages/lesspipe/lesspipe.sh Thu Jun 4 13:03:32 2009
@@ -79,7 +79,7 @@
fi
;;
*) case $TERM in
- xterm|xterm-color) output=xterm256;;
+ xterm|xterm-color|xterm*88color|xterm*256color) output=xterm256;;
*) output=ansi;;
esac
run-mailcap "$1" || \
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lesspipe/lesspipe.sh?r1=1.39&r2=1.40&f=u
More information about the pld-cvs-commit
mailing list