public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] vimmanpager for MANPAGER not working?
@ 2011-11-11 10:26 Pandu Poluan
  2011-11-11 10:37 ` [gentoo-user] " Pandu Poluan
  0 siblings, 1 reply; 2+ messages in thread
From: Pandu Poluan @ 2011-11-11 10:26 UTC (permalink / raw
  To: gentoo-user

Anyone successful in using vimmanpager as MANPAGER?

I keep getting ANSI control char gobbledegook in "man man" if I use
the provided vimmanpager script (USE="vimpager" emerge
app-editors/vim)

However, I tried Rafael Kitover's vimpager replacement from here:
https://github.com/rkitover/vimpager

... copy the new "vimpager" to /usr/local/bin

... and set PAGER=/usr/local/bin/vimpager

... and it works! "man man" now properly colored, and I even tried
"diff -u file1 file2 | vimpager", also works nicely.

Any comments on why the provided vimpager/vimmanpager of
app-editors/vim can no longer properly colorize "man man"?

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: vimmanpager for MANPAGER not working?
  2011-11-11 10:26 [gentoo-user] vimmanpager for MANPAGER not working? Pandu Poluan
@ 2011-11-11 10:37 ` Pandu Poluan
  0 siblings, 0 replies; 2+ messages in thread
From: Pandu Poluan @ 2011-11-11 10:37 UTC (permalink / raw
  To: gentoo-user

On Fri, Nov 11, 2011 at 17:26, Pandu Poluan <pandu@poluan.info> wrote:
> Anyone successful in using vimmanpager as MANPAGER?
>
> I keep getting ANSI control char gobbledegook in "man man" if I use
> the provided vimmanpager script (USE="vimpager" emerge
> app-editors/vim)
>
> However, I tried Rafael Kitover's vimpager replacement from here:
> https://github.com/rkitover/vimpager
>
> ... copy the new "vimpager" to /usr/local/bin
>
> ... and set PAGER=/usr/local/bin/vimpager
>
> ... and it works! "man man" now properly colored, and I even tried
> "diff -u file1 file2 | vimpager", also works nicely.
>
> Any comments on why the provided vimpager/vimmanpager of
> app-editors/vim can no longer properly colorize "man man"?
>
> Rgds,
> --
> FdS Pandu E Poluan
> ~ IT Optimizer ~
>
>  • LOPSA Member #15248
>  • Blog : http://pepoluan.tumblr.com
>  • Linked-In : http://id.linkedin.com/in/pepoluan
>

Oookay. So. Finally managed to make vimmanpager work by doing:

echo "MANPAGER=/usr/bin/vimmanpager" > /etc/env.d/99manpager

To make sure, I deleted rkitover's vimpager from /usr/local/bin, and do man man

Now, before I lose my mind, can someone tell me what's the difference
between /etc/env.d and /etc/profile.d ??

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-11 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 10:26 [gentoo-user] vimmanpager for MANPAGER not working? Pandu Poluan
2011-11-11 10:37 ` [gentoo-user] " Pandu Poluan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox