Mac OS X Support

This adds Mac OS X support to jo-shell.