chjj/pty.js — pull request #30 by peters (2012-12-19 09:33:27+00:00)
Title: Windows Support

### Changeset

Added libwinpty in deps/winpty. I've made some minor changes and committed them upstream, but these are not related to the library itself.

Added binding.gyp (Have not updated wscript because honestly, i do not know how that shit even works).

Updated README.md to reflect windows support.

Also when using term.fork() you have to use term.ready() before you try to send any data to the terminal, that goes for killing it as well.

### Remarks

Only pty.fork() is supported.
Unit tests fails, could somebody care to investigate why?

### Demo

Simple patch available here: https://github.com/peters/tty.js/blob/034889c14ba4e333531c78969ebb97bb17fb959f/lib/tty.js#L439

```
git clone https://github.com/peters/tty.js.git
cd tty.js
npm install
node bin/tty.js
```

And you shall have unicorns!