Differentiate Mac and Linux functionalities
Merge Purcell's and my original one
Fix 'Ctrl-[' not working problem