Rev'd pty.js to latest version and built it using node-gyp clean configure build --verbose --arch-ia32. Without this it builds in x86_64 which does not work properly on OSX 10.9.2 node v0.10.26