Since sys-apps/man-1.6f-r1, NROFF is now "/usr/bin/nroff -mandoc" Changelog : *man-1.6f-r1 (24 Feb 2008) +files/man-1.6f-unicode.patch, +man-1.6f-r1.ebuild: Do not force -c/-T anymore to groff so that it can work its locale magic #146315 by Matthias Schwarzott. Impact removing the '-c' option is that color control codes are pushed in stdout. This is not a problem with the standard manpager, but it corrupts the vimmanpager display : vim displays the raw codes in the man pages, since control color codes are not interpreted. I see 2 solutions to fix this : 1) reintroduce the '-c' option to NROFF (in /etc/man.conf) 2) fix the vimmanpager script (patching the vim.eclass), by stripping the color control codes in the stdin stream. Follow a patch that fix this. I think that this should be the best solution.
Created attachment 145662 [details, diff] vimmanpager-fix.patch This patch apply on vim.eclass that generate the vimmanpager script. There should be other way to do the same thing (stripping the color control codes), but this way works well.
The fix is in CVS. Thanks for reporting :)