Fixing the command “man” in OSX
The command ‘man’ in terminal has an annoying feature: it clears the screen on exit. So if you find a command line switch you want to try, when you exit man the detail all disappears.
To correct this, change the following line in /private/etc/man.conf:
PAGER /usr/bin/less -is
PAGER /usr/bin/less -isX