isaacs cf20b6bf65 Fix #2257 pause/resume semantics for stdin
This makes it so that the stdin TTY-wrap stream gets ref'ed on
.resume() and unref'ed on .pause()

The semantics of the names "pause" and "resume" are a bit weird, but the
important thing is that this corrects an API change from 0.4 -> 0.6
which made it impossible to read from stdin multiple times, without
knowing when it might end up being closed.  If no one has it open, this
lets the process die naturally.

LGTM'd by @ry
2011-12-05 16:47:11 -08:00
2011-11-10 21:13:37 +01:00
2011-12-04 13:22:21 +01:00
2011-12-05 16:20:44 -08:00
2011-12-05 16:20:44 -08:00
2011-11-11 14:56:27 -08:00
2011-12-04 00:10:23 -08:00
2011-08-26 20:38:45 +00:00
2011-09-12 21:48:30 +00:00
2011-12-05 16:20:44 -08:00
2011-11-10 13:22:13 -08:00
2011-11-01 22:26:52 +01:00
2011-12-05 16:20:44 -08:00

Evented I/O for V8 javascript.

To build:

Unix/Macintosh (requires python >= 2.5.2):

./configure
make
make install

Windows:

vcbuild.bat

To run the tests:

Unix/Macintosh:

make test

Windows:

vcbuild.bat test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers

Languages
JavaScript 65.4%
C++ 22.6%
Python 8.4%
C 2.1%
HTML 0.5%
Other 0.8%