It would be a nice enhancement to make a default install of less easily be a drop-in replacement for more for paging when viewing man pages. Right now it looks like setting PAGER=less and using a man command results in all the escape sequences and control code being printed as values instead of output to the tty. Reproducible: Always Steps to Reproduce: 1. export PAGER=less 2. Try to view a man page - observe escape and control codes output 3. export PAGER=more 4. Try to view a man page - result is as expected. Actual Results: Setting PAGER=less and using a man command results in all the escape sequences and control code being printed as values instead of output to the tty. Expected Results: Same as for when PAGER=more.
less installs /etc/env.d/70less, which should cause LESS="-R -M --shift 5" to be set (assuming you haven't overridden it), which makes less play nice with man. You need to source /etc/profile again (or log out and back in) to get environment updates from env.d to take effect, though. Please try this, and re-open if you're still having problems.