Skip to Content

Here comes your man (viewer)


Man pages have been around since before I was born (circa 1971, actually). The people who will take an interest in this post are most likely familiar with the 'man' documentation format for most UNIX commands. While little has changed in the form and function of the man page – besides spawning some offshoots like GNU's info – the options for reading them in a more pleasant GUI environment have grown more diverse. Mac OS X users have a few options beyond typing 'man xyz' into the Terminal or using man pages on the web...

There are Cocoa applications like Man Viewer, Man Handler and ManOpen which allow you to search for and browse man pages in a way more familiar to OS X users. They all perform text searches within an opened page, Man Handler having the most Leopard-friendly results. To the best of my knowledge, only ManOpen allows for Apropos searches which allow you to find man pages based on their subject matter. I also like the ability to open several man pages simultaneously, which ManOpen and Man Handler provide but Man Viewer does not. Rather, Man Viewer provides a single-window interface, which has its upsides as well.

Most of the Cocoa viewers do not handle hypertext links within the man pages (ManOpen provides related links). For a fluid solution in that area, there's Bwana or Sogudi (the Safari 3 version of Sogudi is currently a beta), tools that integrate with Safari to allow the opening of man pages right in the browser with code highlighting and links to related pages. While Bwana is an application, Sogudi is an InputManager which allows and both allow you to type man:mdfind in the url field to load a pretty (man2html) version of mdfind's man page (with Bwana, you can also use 'open man:mdfind' from the command line) . And with both you get a tabbed interface and great search features to boot. If you've already got Safari open for other purposes, it's a great way to make use of the browser. By the same token, it's a lot of app to load if you just want to remember an ls switch.

Another option – which may be great in some instances and fairly worthless in others – is Man2PDF. Basically, it produces a well-formatted PDF of the selected man page. Perfect for printing and viewing with Preview, but not the best choice for quick consultation.

Were I asked to pick a winner, and Safari was already running, I'd say Sogudi wins for good looks (inherited, in part, from Safari) and great usability. ManOpen wins in the standalone category with its Apropos search and hypertext links.

Of course, a vanilla man command wins for easy accessibility where you need it most.



Categories

Software UNIX / BSD

Man pages have been around since before I was born (circa 1971, actually). The people who will take an interest in this post are most...
 

Add a Comment

*0 / 3000 Character Maximum

16 Comments

Filter by:
Mark Hughes

I think you need Xcode to get this, but without installing anything else, you can use:

x-man-path://NAME

or

x-man-path://SECTION/NAME

to open any man page in a Terminal window with less.

March 09 2008 at 4:03 PM Report abuse rate up rate down Reply
1 reply to Mark Hughes's comment
Mark Hughes

Argh. Typo in the previous post...

I think you need Xcode to get this, but without installing anything else, you can use:

x-man-page://NAME

or

x-man-page://SECTION/NAME

to open any man page in a Terminal window with less.

March 09 2008 at 4:06 PM Report abuse rate up rate down Reply
Jack

Thank you for mentioning Bwana, glad to hear people find it useful.

March 09 2008 at 9:43 AM Report abuse rate up rate down Reply
Michael Sternberg

Correction needed: man:mdfind in Safari' the location bar works just fine for Bwana, as does "open man:foo" on the command line. I hear InputManagers are trouble, so my vote is for Bwana.

March 09 2008 at 12:43 AM Report abuse rate up rate down Reply
1 reply to Michael Sternberg's comment
Brett Terpstra

Correction made, thanks! I had both loaded and couldn't tell which was doing what, I guess.

March 09 2008 at 7:25 AM Report abuse rate up rate down Reply
joe

Personally, I've been using either a plain 'man' in terminal, or 'man|aless' which would pipe the results into AquaLess, a nice aqua replacement for 'less' with syntax highlighting of man pages, among other things.

But maybe I'll try some of these.

March 08 2008 at 3:47 AM Report abuse rate up rate down Reply
david

the title reminds me of a great pixies song

March 08 2008 at 1:36 AM Report abuse rate up rate down Reply
Benjamin

It's worth noting that Bwana works with any browser, not just Safari.
I like ManOpen, but the ability to open multiple man pages in tabs with Camino makes Bwana the winner in my opinion.

March 07 2008 at 10:44 PM Report abuse rate up rate down Reply
xaqtly

Man Handler wins for best name.

March 07 2008 at 7:55 PM Report abuse rate up rate down Reply
1 reply to xaqtly's comment
Kevin

Glad you like the name!

Thanks to TUAW for the nice mention of Man Handler. We experienced a nice bump in hits over at Geeksuit.com from just the mention!

March 27 2008 at 1:06 PM Report abuse rate up rate down Reply
Michel

man -t ls
will send on the output a postscript formatted version of the man page for the "ls" command

---
man -t ls | open -f -a /Applications/Preview.app/

will send a postscript formatted man page to the Preview application, preview will transform the postscript in PDF automatically. you can save the document in pdf with Preview like any document.


March 07 2008 at 7:35 PM Report abuse rate up rate down Reply
jollyllama

Outside there's a box car waiting, outside the family stew, out by the fire breathing, outside we wait 'til face turns blue.


March 07 2008 at 6:44 PM Report abuse rate up rate down Reply
3 replies to jollyllama's comment
Frank

Command-line man, of course, allows searches as well.

Just type '/' and what you're looking for, and hit return. 'n' will jump to the next result. 'b' to go back a page, space to go forward.

March 07 2008 at 6:13 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.