[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#363250: general: Custom PAGER gives error on sid, but works on sarge



Package: general
Severity: normal

I want to use vim as my man pager. On other distros, and on sarge, I use this line 
in my .bashrc

# Set vim as the man pager
export PAGER="col -b | view -c 'set ft=man nomod nolist titlestring=MANPAGE' -"

In those systems, it displays the man page properly in vim with full color. However, 
on using the same line on sid, the error given is 

[rohan@debian ~]$ man man
Reformatting man(1), please wait...
col: invalid option -- c
usage: col [-bfhpx] [-l nline]
man: command exited with status 256: /usr/bin/zsoelim /tmp/zmanGiFFlw | /usr/bin/tbl 
| /usr/bin/nroff -mandoc -rLL=89n -rLT=89n -Tutf8 | col -b | view -c set ft=man 
nomod nolist titlestring=MANPAGE -
[rohan@debian ~]$

I dont why it is passing -c to col, where it should pass it to "view" i.e. vim. 


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)



Reply to: