On Thu, Dec 04, 2008 at 02:39:01PM +0100, Ajay Jain wrote:
> 
> Hi, 
> 
> I am using putty (on Windows) to login to a linux machine. 
> 
> I wish to read the manpages using Vim. I have added the followig to my
> .bashrc:
> 
> export PAGER="/bin/sh -c \"unset PAGER;col -b -x | view -c 'set ft=man
> nomod nolist' -c 'map q :q<CR>' -c 'map <SPACE> <C-D>' -c 'map b <C-U>'
> -c 'nmap K :Man <C-R>=expand(\\\"<cword>\\\")<CR><CR>' -\""
> 
> However, I am not able to read the manpages correctly. Some characters
> are distorted etc etc. Can somebody share his tested settings, so that
> I can read these pages in the best possible way.

Try changing the NROFF line in /etc/man.conf to this:

NROFF           /usr/bin/nroff -Tascii -c -mandoc

    -Erik

Attachment: pgpCuww5uaCQM.pgp
Description: PGP signature

Reply via email to