Wednesday, May 19, 2010

Cygwin man: cannot open configuration file

I recently installed Cygwin anew, and found the below output when I ran a man command.

Bacon Lettuce and Tomatoe - ~/wd
Wed May 19 - 01:03 PM > man ls
Warning: cannot open configuration file /usr/share/misc/man.conf

This was followed by a lot of gibberish. Thankfully, Google saved the day, with this readlist.com post: Garbage man pages. The fix was simple, as below.

cp /etc/defaults/usr/share/misc/man.conf /usr/share/misc/man.conf