Which .conf file do I need to edit in order to view
man pages in a web browser? I'd like to use Google Chrome to do this.
Is this possible?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
One way to do this is to put the following command in
export PAGER="col -b | open -a /Applications/Safari.app -f"
PAGER environmental variable controls what program
man uses to display man pages. the
col command removes all of the backspace-formatting from the man page. The
open command saves the output as a temporary text file and opens it with
Or you can edit the PAGER variable in
/private/etc/man.conf. You could also probably edit the
NROFF variable and eliminate the need to use
col -b. See the man page for
http://www.bruji.com/bwana/ is exactly what you're looking for.