Re: [opensuse] Broken info pages
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LSU.1.00.0801041920310.6218@nimrodel.valinor> El 2008-01-04 a las 12:20 +0100, Dr. Werner Fink escribió:
On Fri, Jan 04, 2008 at 11:45:35AM +0100, Carlos E. R. wrote:
Hi,
If I type "info scp" or "pinfo scp" I get this page:
File: scpm.info, Node: Top, Next: Introduction, Up: (dir)
instead of the one for "scp" or none. This is not the only case: it seems to do a search not matching for "word". Is there an option to modify this behaviour, is it a bug, or a broken index?
Try
ls -l /usr/share/info/scp*
I get the following
-r--r--r-- 1 root root 16121 Nov 27 2006 /usr/share/info/scpm.info.gz
in other words the info page scp does not exist and therefore info expands the keyword scp to scpm which is the next possible try.
Yes, I understand that... but the info program is trying to second guess me giving an approximate page instead of the exact match. I would prefer the answer "no such page" or "no such page, perhaps you want this other page?" It also causes problems for "pinfo". This "pinfo" is supposed to give the info page if found, or the man page otherwise; in this case it gives the wrong info page instead of the correct man page. Another example is "pinfo mount": it gives "File: libc.info, Node: Mount-Unmount-Remount", ie the programmer's help, not the user command help. This is certainly wrong for the command "pinfo", although arguably correct for "info". I now there is a "/etc/pinforc", but I have no idea how to tell it to find only exact matches, nor how to manually tell it to jump to the next match. - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHfnsbtTMYHG2NR9URAjodAJ0WlcxSt6UNrVKU+TU4XRc2MnkREwCcCfRo 01UDemgMN+ISUSa3y5ipOSs= =wDNI -----END PGP SIGNATURE-----
participants (1)
-
Carlos E. R.