Conversation started Apr 28, 2016 at 1:35.
Apr 28, 2016 01:35
Anyone here have a freebsd system?
@muru: me
Can you tell me what you get as the output for

MANPAGER='sh -c "env | grep MAN"' man man
@muru 'OpenVZ SSD-Cached VPS (CVZ)'
@muru @JennyD does, i think.
I'm trying to see what information man provides the pager. In Linux, the man-db man sets MAN_PN.
I'm curious if FreeBSD's man also does the same.
@muru: The ouput is MANPAGER=sh -c "env | grep MAN"
Apr 28, 2016 01:41
So, that's the sole environment variable? :( I wonder if FreeBSD's man provides any information at all to the pager
I wonder if it sets an argument
@muru: Look at -P option
Yes, so I'm wondering, if I do: man -P foo printf or MANPAGER=foo man printf, does the command foo get any arguments?
Does the command have any way to know it's being run for some man page?
@cuonglm what does MANPAGER=echo man printf get you?
@muru: a blank line
Sigh. Thanks a lot @cuonglm! :)
 
Conversation ended Apr 28, 2016 at 1:48.