celeri icon indicating copy to clipboard operation
celeri copied to clipboard

Completely unusable

Open nicwaller opened this issue 9 years ago • 1 comments

I just downloaded the examples and I'm trying to get started with Celeri, but it's definitely not working correctly for me. No matter what I type, I always get sent back to the prompt. It's impossible to exit the program by typing EOF, and the usual commands for SIGINT (Ctrl-C) and SIGSTOP (Ctrl-Z) also do nothing. Here's an example.

$ node examples/hello.js
hello > hello
hello > hello name
hello > quit
hello > quit()
hello > help
hello >
hello >

Terminated

But sending signals with kill works as expected. SIGINT causes the process to exit and SIGSTOP puts the job into the background. And strangely, the process will correctly interpret Ctrl-C as a SIGINT after being resumed from the background.

Similarly, invoking process with some command line arguments also produces no useful output and ignores all input.

nic.waller@server5 ~/celeri$ node examples/hello.js hello foo
hello >
hello >
hello >
Terminated

I see this behaviour with any/all of the examples. It is not limited to the hello.js example script.

I'm using the current master, 479e85d4039a8fd7be3119a9624b1763f62e1fc9.

I got the same results in two different environments:

  • Node v0.12.4 on Mac OS X Yosemite 10.10.4
  • Node v0.12.1 on Ubuntu 12.04 LTS

Here's the list of node modules that I'm using.

[email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│   └── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

nicwaller avatar Aug 25 '15 00:08 nicwaller

This library hasn't been updated in a few years. Gonna revamp it here in a bit with newer APIs, tests, etc.

crcn avatar Aug 27 '15 18:08 crcn