Complete rewrite with many fixes and enhancements and a new test suite (test.pl). There is now support for calling lesspipe within a pipe (LESSOPEN="|-..."). This setting would trigger lesspipe also for other programs using less for displaying content. For man, git and perldoc this is suppressed. LESS_ADVANCED_PREPROCESSOR is no longer honored.
A new program vimcolor can be used to colorize the output but is mainly intended for checks in the test suite. See more details in the README.md