-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Friday 2007-12-14 at 04:27 +0100, Stephan Hegel wrote:

Carlos E. R. wrote:
Forget 'info', use 'pinfo'. It is intuitive, uses colors, displays
either man or info pages, depending on what it finds.... really nice.
I've tried it. Surely better to operate than info, especially it
has vi key bindings for basic operations. But how to search for
keywords within all pages ? E.g. for "precision" in "pinfo bc".
With "/" it seems it searches only in the currently displayed page.

Unfortunately, you are right.

There is an info page for pinfo...

It has a configuration file. Keys are configurable.

Searching for "search" in the index only finds "Node: Environment" ... good grief.

In "Node: Keybindings" I see:

KEY_TOTALSEARCH_1
     Key for searching through all nodes of info file.

KEY_TOTALSEARCH_2
     Alternate key for searching through all nodes of info file.


KEY_SEARCH_1
     Key for searching through current node (or manual).

KEY_SEARCH_2
     Alternate key for searching through current node (or manual).



So, we need to know which is the "KEY_TOTALSEARCH_1", but the infopage doesn't say.

It has no online help through "?" or "h".


Mmmm... if I type "s" or "S" for search, it does look in the whole file. I tried searching for "_pentium4" in "pinfo gcc", and it works. If you use "/" for search, then it only searchs the current node.

That's it, then :-)



Ah! There is an "/etc/pinforc" file. Sure enough, it has:

KEY_TOTALSEARCH_1 = 's'
KEY_TOTALSEARCH_2 = 'S'
KEY_SEARCH_1 = '/'
KEY_SEARCH_2 = '.'


But I don't see how to search backwards. Ah, the cursor left key does it, goes to the previously found item.

There is time to learn new tricks ;-)

- -- Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHYok+tTMYHG2NR9URAgqZAJ9crSXXeEa/Ulv4B4IQ01sA8L9V5gCfS9nh
gq6ZzpnY008YXcc47ya6wGg=
=CjEZ
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to