I have PAGER set to `vimpager`. During the install-phase of pv `man` is called, which calls vimpager: >>> Install pv-0.9.9 into /var/tmp/portage/app-misc/pv-0.9.9/image/ category app-misc man doc/quickref.1 | sed 's///g' | cat -s > doc/quickref.txt || : Vim: Warning: Output is not to a terminal Vim: Warning: Input is not from a terminal I can kill vim from another terminal, so that the installation continues with some errors, but it does not fail at all: /usr/bin/vimmanpager: line 7: 32729 Done tr '\267' '.' 32730 | col -b 32731 Terminated | vim -c 'let no_plugin_maps = 1' -c 'set nolist nomod ft=man' -c 'let g:showmarks_enable=0' -c 'runtime! macros/less.vim' - Error executing formatting or display command. System command (cd /var/tmp/portage/app-misc/pv-0.9.9/work/pv-0.9.9/doc/.. && (echo ".pl 11i"; /bin/cat '/var/tmp/portage/app-misc/pv-0.9.9/work/pv-0.9.9/doc/quickref.1') | /usr/bin/gtbl | /usr/bin/nroff -mandoc -c | vimmanpager) exited with status 143. No manual entry for doc/quickref.1 I suggest to replace the included man with something more sane, like a groff-command. A quick fix can be done with adding `-P less` to the man-call in the source, so that it looks like this: man -P less doc/quickref.1 | sed 's///g' | cat -s > doc/quickref.txt
I've removed the doc target from make install, it's not needed for us. It works for me with PAGER=vimpager now, could you please check if it's fixed for you too?
Yep, works now. Thanks :)