
Comment #2 on issue 551 by ondrej.g...@gmail.com: XMonad.Prompt.Man.manPrompt uses `manpath -g`, -g appears to be an invalid option http://code.google.com/p/xmonad/issues/detail?id=551 That would explain it. Gentoo (CentOS too AFAIK) still uses the standard man, but migration to man-db is in progress (Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=284822). I think the only proper solution is to parse the version as printed out by `manpath -V` (this option seems to be in both versions, although the standard manpath does not advertize it). Output from standard man `manpath -V` on current Gentoo 64 manpath, version 1.6g # <- note the comma # <- yes, that's one extra blank line ... Output from man-db `manpath -V` on Debian 6 manpath 2.5.7 I've attached a working example of such parsing and a patch that should fix the problem. I'm a beginner in Haskell, but it could be of some use perhaps. Attachments: manpath_parse.hs 364 bytes Xmonad_Prompt_Man.hs.diff 1.4 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings