Red Hat Bugzilla – Bug 458633
Pinfo, unlike info, shows man pages instead of info files for some programs
Last modified: 2008-09-04 09:53:46 EDT
For instance info dvips gives me the info page, while pinfo dvips gives me the (obsolete) man page.
Version-Release number of selected component (if applicable):
Interesting, pinfo dvips seems to work fine here.
Do you have a .pinforc in your $HOME? Can you please make strace of pinfo by "strace -f -o pinfo.strace pinfo dvips" and attach the file here?
Created attachment 313926 [details]
Gave me man page.
I don't have any custom configuration done.
Actually, it fails only from certain directories; if I run it from my home dir it works! Attached is the trace of a "failed" run, meaning it gave me the man page.
Created attachment 313927 [details]
From my home dir it actually works.
"info" however works from any dir.
The directory where it fails has a "dvips" file which pinfo tries to interpret as info page, fails and then opens the man page.
I'll see if it can be forced to try other directories before opening man page.
(In reply to comment #4)
> The directory where it fails has a "dvips" file which pinfo tries to interpret
> as info page, fails and then opens the man page.
> I'll see if it can be forced to try other directories before opening man page.
For whatever it's worth, the dvips there is a directory; pretty common in texmf trees.
Fixed in pinfo-0.6.9-8.fc10 by reordering compiled-in INFOPATH, current directory is now searched last. Thanks.