-
Notifications
You must be signed in to change notification settings - Fork 7.3k
node < /dev/tty
doesn't seem to work as expected on OSX
#3072
Comments
After further investigation this appears to have been fixed by b6d6a54, which will be in the |
It seems like applying |
Appears to be fixed now. |
This seems to be happening again using node master (82bcdbb). Only now it's worse, getting an assertion failure from within libuv:
/cc @bnoordhuis |
@TooTallNate: WFM. To wit:
|
It works on linux and sunos, not on osx. |
Still happens as of $ node -v
v0.7.10
$ node < /dev/tty
> Assertion failed: (!!(events & UV__IO_READ) ^ !!(events & UV__IO_WRITE)), function uv__stream_io, file ../deps/uv/src/unix/stream.c, line 732.
Abort trap: 6 |
|
@TooTallNate Sorry, I kind of lost track of this issue. Does it still happen? |
Yes, still happens. I'll ship you a six pack of beer to fix it ;) On Wednesday, July 4, 2012, Ben Noordhuis wrote:
|
Deal. :-) I'll work on it next week - I sent my old MBP back to Joyent and I haven't bought a new one yet. |
👍 for @bnoordhuis to fix it 3 weeks ago |
Ran into this as well on OSX 10.7. Would love to see this fixed! |
Fix is there, still polishing it out: https://github.com/joyent/libuv/pull/528/files |
Fixed in master. |
So I guess @indutny's |
Ah, no. it doesn't. |
See joyent/libuv#674 |
Works as expected in node v0.10.7 (just the version I was on at the moment, it's probably been fixed for a while). Closing. |
https://gist.github.com/681256e480d4e8eae52d
Basically, I'm expecting to enter the REPL as usual, and basically the initial prompt gets printed and no keyboard input gets recognized at all.
read(1)
seems to work as expected (as seen in the gist), so I would think at least inNODE_NO_READLINE
mode would as, but that doesn't seem to work either.This seems to only happen on OS X and works fine on Ubuntu.
The text was updated successfully, but these errors were encountered: