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.
Share
Categories
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
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.
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.
Thank you for mentioning Bwana, glad to hear people find it useful.
March 09 2008 at 9:43 AM Report abuse Permalink rate up rate down ReplyCorrection 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 Permalink rate up rate down ReplyCorrection 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 Permalink rate up rate down ReplyPersonally, 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.
the title reminds me of a great pixies song
March 08 2008 at 1:36 AM Report abuse Permalink rate up rate down ReplyIt'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.
Man Handler wins for best name.
March 07 2008 at 7:55 PM Report abuse Permalink rate up rate down ReplyGlad 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!
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.
Outside there's a box car waiting, outside the family stew, out by the fire breathing, outside we wait 'til face turns blue.
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.
Hot Apps on TUAW
Deals of the Day
more deals- Verizon Leather Sleeve for Tablets for $4 + free shipping
- Wicked Jaw Breaker Noise-Isolating In-Ear Headphones for $6 + free shipping
- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



16 Comments