Ryan Dahl
bca16a0581
Handle ctrl+z from readline
15 years ago
Ryan Dahl
41f213be18
Add binding to termios, implement readline for repl
15 years ago
Ryan Dahl
0de138acb5
improve test for stdio non-blockingness
15 years ago
Ryan Dahl
f73b6e2190
Fix opposite logic, which coincidentially works
15 years ago
Ryan Dahl
8c56284776
Remove unneeded fd variables in node_stdio.cc
15 years ago
Ryan Dahl
8e5b91c79b
Revert "Check for strings.h"
This reverts commit 032f651824
.
15 years ago
Ryan Dahl
032f651824
Check for strings.h
15 years ago
Felix Geisendörfer
c143cba590
Get rid of coupling for stdin
15 years ago
Felix Geisendörfer
76f98c27de
Get rid of coupling for stdout
15 years ago
Ryan Dahl
c9e27b11c5
Unify ErrnoException creation
15 years ago
Ryan Dahl
b0d1d6c2b9
Reset stdin, stdout fd flags on exit
In vim, lauching node as a child process would mess up the screen. This was
because Node was changing the flags on STDIN_FILENO and STDOUT_FILENO
(particularly adding O_NONBLOCK) but those flags leaked into the parent
process.
15 years ago
Ryan Dahl
fdf46a65c9
Use streams for stdout and stdin
15 years ago
Ryan Dahl
3eaaaffadb
Ignore EAGAIN in stderr dumps.
(Going out of the way to be sync)
15 years ago
Ryan Dahl
88b9359284
Fix stderr flushing problem
15 years ago
Ryan Dahl
ae1fc497bb
Fix stdout flush issue
http://github.com/ry/node/issues#issue/53
15 years ago
Ryan Dahl
a5df0f6a65
Prefix all source files with node_
15 years ago
Ryan Dahl
12c2ea05ca
Bugfix: 'data' event for stdio should emit a string
Was emitting a single element array where array[0] was the input.
15 years ago
Ryan
efb2b703a6
Remove compiler warning with extra assert.
16 years ago
Ryan
393caeb4c9
Add Exception::Error where missing.
16 years ago
Ryan
8890070b88
Introduce "raws" encoding. Raw String.
This allows you to have binary data imported into your application via
strings instead of arrays of numbers! This needs testing before release.
16 years ago
Ryan
21a1b045f5
Byte stream to V8 decoding and encoding.
This does not (should not) change behavior. Pulls those two functions
(encode/decode) out into node.cc.
16 years ago
Ryan
17c6a67f15
Introduce node.stdio
Remove old stdout, stderr, stdin objects.
16 years ago