Recent
Articles |
Death of the Command Line It's hard for me to imagine using an OS without a strong command line. Even Microsoft has recognized the...
Review: A Practical Guide to Red Hat Linux I'm overwhelmed. This is the book I wanted when I started learning about Unix. OK, Linux didn't exist then, but if it had existed, and if I were sticking my toes...
Linux Starter Kit Review I should say all the nice things first: this is an attractively packaged DVD distribution of Suse 10.1...
|
|
|
08.17.06 Linux Pinfo
By
A.P. Lawrence
I have never liked Linux "info". The reason is simple enough: I don't like Emacs, and "info" uses an emacs style interface.
Pinfo displays the same "info" files, but is more lynx like; up and down arrows move you from clickable link to clickable link, right arrow invokes a link, left arrow returns you to the previous page.
You can have this on Mac OS X, too. If you have Darwin Ports installed (and if you don't, go to http://darwinports.opendarwin.org/ and get it), just do "sudo port install pinfo"
Pinfo is colorized by default, which makes it easy to see where the clickable links are, and because you are always "on" something clickable if there is anything at all, you don't get those annoying Emac's beeps that info emits when you miss your mark.
Like info, pinfo will display a man page if that's all it can find.
If you WANT to see the man page specifically, you can invoke "pinfo -m". When it is forced to use a man page, pinfo tells you so on stderr, info does not.
Unlike info, pinfo does not display anything if it has nothing. I've been forever irritated by info coming up with its default page when it has nothing to tell me.
Of course info is more powerful than pinfo. That's a given, but if you aren't an emacs fan, and don't use it constantly, you won't remember how to tap all that power.
As info pages often have much more detailed information than man pages, you risk missing a lot by not using info. Pinfo is a less painful way to get that information.
About the Author: A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com
|