Bug 458633 - Pinfo, unlike info, shows man pages instead of info files for some programs
Summary: Pinfo, unlike info, shows man pages instead of info files for some programs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pinfo
Version: 9
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-11 08:37 UTC by Vasile Gaburici
Modified: 2008-09-04 13:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-04 13:53:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Gave me man page. (214.52 KB, application/octet-stream)
2008-08-11 09:35 UTC, Vasile Gaburici
no flags Details
From my home dir it actually works. (43.86 KB, application/octet-stream)
2008-08-11 09:37 UTC, Vasile Gaburici
no flags Details

Description Vasile Gaburici 2008-08-11 08:37:56 UTC
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):
pinfo-0.6.9-7.fc9.i386

Comment 1 Miroslav Lichvar 2008-08-11 09:18:33 UTC
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?

Comment 2 Vasile Gaburici 2008-08-11 09:35:54 UTC
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.

Comment 3 Vasile Gaburici 2008-08-11 09:37:12 UTC
Created attachment 313927 [details]
From my home dir it actually works.

"info" however works from any dir.

Comment 4 Miroslav Lichvar 2008-08-11 10:34:40 UTC
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.

Comment 5 Vasile Gaburici 2008-08-11 10:46:29 UTC
(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.

Comment 6 Miroslav Lichvar 2008-09-04 13:53:46 UTC
Fixed in pinfo-0.6.9-8.fc10 by reordering compiled-in INFOPATH, current directory is now searched last. Thanks.


Note You need to log in before you can comment on or make changes to this bug.