I've been unable to correctly set up a MANPATH
environment variable in msysgit
(1.9.0; 20140217) on Windows 7 (which is not my main concern here). Every time I execute the man
command, I recieve the following errors:
- /usr/local/lib/man.config: No such file or directory.
- Warning: Cannot open local configuration file /usr/local/lib/man.config.
- No manual page for {command}
As stated above, this is not a concern, merely an inconvenience as I know it's possible to use groff [something] -T ascii /path/to/manpage
to display manpages. However, I am unable to find the command necessary to do so, having searched SE. (I know there was a question asking for it, but it doesn't show in my searches.) As a work-around, I've been using online manpages, but I'd prefer not to search the Web every time I want to view a manpage.
So, first prize is the groff
command for displaying man pages and the second is instructions on how to set up man.config
(including file contents) for msysgit
.