Hi Matt,

If you can confirm manpath is compatible for both GNU/Linux and BSD type
systems, we can switch to manpath instead of  using "man --path". There is
already an opened issue here :
https://github.com/ridiculousfish/fishfish/issues/38

On Wed, Jun 6, 2012 at 9:21 PM, Matt Geiman <[email protected]> wrote:

> Hello all,
>
> I just found Fish and I think I may have found an inconsistency with
> the way in which Fish detects the Man path(s).  I'm running Ubuntu
> 10.04 64-bit with the latest updates.  On my box, when I try and run
> "fish_update_completions", I get this error:
>
> man: unrecognized option '--path'
> Try `man --help' or `man --usage' for more information.
>
> It appears that not all versions of man support the '--path' flag.  To
> fix this (which I believe was successful) I edited
> "create_manpage_completions.py".  I changed line 774 from this:
>
> proc = subprocess.Popen(['man', '--path'], stdout=subprocess.PIPE)
>
> to this:
>
> proc = subprocess.Popen(['manpath'], stdout=subprocess.PIPE)
>
>
> This seems to make a difference, as the output from
> "fish_update_completions" is now:
>
>
> Parsing man pages and writing completions to
> /home/matt/.config/fish/completions/
> Command is  7z: 7z
> a doesn't contains -
> d doesn't contains -
> e doesn't contains -
> l doesn't contains -
> t doesn't contains -
> u doesn't contains -
> Command is  7za 7za
> a doesn't contains -
> d doesn't contains -
> e doesn't contains -
> l doesn't contains -
> t doesn't contains -
> u doesn't contains -
>
> Not sure whether this is correct or not, but either way I thought I
> should let you all know.  Let me know if I can do anything else to
> help, and thanks for Fish!
>
> Thanks,
>
> -Matt
>
> --
> Matt Geiman
> [email protected]
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>



-- 
Regards,
Siteshwar
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to