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

Open man pages with ManOpen from the Finder Apps
I wanted to have man pages automatically open in ManOpen if I double-clicked them. I tried several ways including MisFox that didn't seem to work. Carl Lindberg, who wrote ManOpen, told me how, although it is a basic Mac OS X technique.

Find a man page say a .1 type man page [robg adds: In the Finder, use Go -> Go to Folder and enter '/usr/local/share/man/man1' to see the standard .1 pages]. Use "Get Info", go to the 'Open With' section and choose 'Other...' Find manOpen and change the menu that says "Recommended Applications" to "All Applications," and tick the "Always open with" checkbox and then click OK. Back at the "Get Info" box, click the Change All button and answer OK.

Repeat for the different types of man pages or just the main ones .3, .5 and .8 . Mostly only man pages use these extensions so there shouldn't be problems.

[robg adds: To get this to work, I had to first use the Ownership section to change the ownership to me, and then change it back when done. When I tried without changing the ownership, I had a Finder restart and then an "unable to complete" error message.]
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[4,703 views]  

Open man pages with ManOpen from the Finder | 2 comments | Create New Account
Click here to return to the 'Open man pages with ManOpen from the Finder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Open man pages with ManOpen from the Finder
Authored by: carsten on Mar 10, '03 11:45:05AM
To imbue openman with the same autocompletion power as as man has in the terminal, add the following line to ~/Library/init/tcsh/completions.mine then open a new terminal window.

complete openman 'n/-M/d/' 'p/*/c/'


[ Reply to This | # ]
Open man pages with ManOpen from the Finder
Authored by: jacobolus on Dec 14, '05 02:15:54AM
It's in the help file, but it wouldn't hurt listing here either. In bash, just add the following line to your ~/.bashrc file to get completion for openman, in almost the same way as the tcsh method listed above:
complete -c openman


[ Reply to This | # ]