Skip to content

docs: needs clarification: "terminal raw mode" (signal handling) #32065

Closed
@jgehrcke

Description

@jgehrcke

About the SIGINT event on process it is said in the docs that

It is not generated when terminal raw mode is enabled.

https://github.com/nodejs/node/blame/3ec4b21b1c438255df6f1652377011080dc28052/doc/api/process.md#L504

In the example program I play around with the SIGINT handler was not firing. I assumed that I was testing with the "terminal raw mode", so I was looking into understanding what that is and how to disable it.

A web search for nodejs "terminal raw mode" didn't yield anything useful, though. I also explored node --help and didn't see anything obvious.

I think we should clarify in docs what "terminal raw mode" is and then cross-link to that place from the SIGINT doc I linked above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.processIssues and PRs related to the process subsystem.ttyIssues and PRs related to the tty subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions