Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Open a specific man page section via URL UNIX
There's an existing hint about using x-man-page URLs to link to Unix man pages. When such a URL is clicked, it opens in Terminal, which automatically invokes the man page for the linked command. For example, something like this: View ls manpage.

But there's another element to this, not covered in the original hint: you can also specify the section. For example, x-man-page://3/printf gets you the man page for the printf(3) function in C (as opposed to the command-line utility, which is printf(1), and the default manpage for a simple man printf or x-man-page://printf).
    •    
  • Currently 2.67 / 5
  You rated: 1 / 5 (6 votes cast)
 
[8,870 views]  

Open a specific man page section via URL | 6 comments | Create New Account
Click here to return to the 'Open a specific man page section via URL' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Open a specific man page section via URL
Authored by: n1mie on Feb 09, '06 07:06:34PM

This doesn't work for me. I receive a response like "No manual entry for ls" if I type "x-man-page://ls" into Safari.

Thoughts?

---
--Chip



[ Reply to This | # ]
Open a specific man page section via URL
Authored by: Dan Neuman on Feb 11, '06 08:58:05AM

I found I got a blank terminal screen if terminal isn't already running. The command had run, but I had to press the up arrow to show the start of the man page. If Terminal was already running, the links and typing the link in the address field worked fine.



[ Reply to This | # ]
Open a specific man page section via URL
Authored by: clindberg on Feb 09, '06 09:39:17PM
Apologies for plugging my own application, but ManOpen also supports x-man-page URLs, including the style described in this hint. It has a preference pane to change the default x-man-page setting away from Terminal.

[ Reply to This | # ]
Open a specific man page section via URL
Authored by: jacobolus on May 04, '06 03:04:18PM
ManOpen is great. I set up a mozilla keyword bookmark in Camino for x-man-page://, and now I can use Quicksilver or a quick man «command» in the browser to open man pages.

[ Reply to This | # ]
Open a specific man page section via URL
Authored by: Neville Hillyer on Apr 01, '10 01:38:37PM

I like ManOpen but on my OS X 10.5.8 only one preference pane will open so I am unable to change the default to x-man-page.

Is there a fix for this or can anybody tell me what to add to the plist?



[ Reply to This | # ]
Open a specific man page section via URL
Authored by: Neville Hillyer on Apr 01, '10 02:54:09PM

I have just installed it on Tiger and all preference panes work OK but whilst I can set ManOpen as the default I cannot find any plist entry for it. I assume that it must change something elsewhere.



[ Reply to This | # ]