
If you don't like having to scroll through
man pages with the arrow keys on
iTerm, or if you just want them to look better, you can get your Mac to open them in Preview using an undocumented feature of the
open command that's been mentioned on this site before. This bit of code...
man -t whatever | open -f -a /Applications/Preview.app
...will open the manpage for
whatever in a nicely-formatted Preview window. If you use
tcsh as your shell, you can create a
pman alias that will do the same thing by adding this line to your user's
.tcshrc file, found in your home directory:
alias pman "man -t !:* | open -f -a /Applications/Preview.app
[
robg adds: This hint is somewhat of a roll-up of a number of other existing hints, but I felt it was worth publishing on its own, due to the simplicity of the solution. Although the command will work in 10.3, Preview won't render the postscript output; you'll just see the raw code. And thanks to
fds for the first comment, pointing out the error of my ways in rying to make a bash alias out of this command!]