Bug 458633 - Pinfo, unlike info, shows man pages instead of info files for some programs
Pinfo, unlike info, shows man pages instead of info files for some programs
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pinfo (Show other bugs)
9
All Linux
medium Severity low
: ---
: ---
Assigned To: Miroslav Lichvar
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-11 04:37 EDT by Vasile Gaburici
Modified: 2008-09-04 09:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-04 09:53:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Vasile Gaburici 2008-08-11 04:37:56 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):
pinfo-0.6.9-7.fc9.i386
Comment 1 Miroslav Lichvar 2008-08-11 05:18:33 EDT
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 05:35:54 EDT
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 05:37:12 EDT
Created attachment 313927 [details]
From my home dir it actually works.

"info" however works from any dir.
Comment 4 Miroslav Lichvar 2008-08-11 06:34:40 EDT
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 06:46:29 EDT
(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 09:53:46 EDT
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.