Well and plainly spoken, Matt. I use upstart (don't even get me going on forever).
I will admit that I sometimes pound out an interactive tool out of expedience and that it would be nice to suppress some signals as a guard against my fat fingers, but that's an informed choice and not any shortcoming of POSIX, node, etc. On Mar 22, 2012 7:59 AM, "Matt" <[email protected]> wrote: > I think it's just a reason not to rely on running your process > interactively in a production environment. Use runit or forever or some > other backgrounding solution. I have no idea why people are getting their > pants in a knot over ctrl-s pausing a process. > > On Thu, Mar 22, 2012 at 10:55 AM, C. Mundi <[email protected]> wrote: > >> Bummer. I never thought about that, but it makes sense now that I do. >> One more reason not to rely on stdin/stdout for stuff I don't want >> interrupted I guess. >> On Mar 22, 2012 7:21 AM, "Ben Noordhuis" <[email protected]> wrote: >> >>> On Thu, Mar 22, 2012 at 05:37, C. Mundi <[email protected]> wrote: >>> > According to the docs, POSIX signals are mapped to events. I was >>> planning >>> > on just catching them. I assume that's how the "press ctrlC again to >>> exit" >>> > is implemented for the REPL. Corrections? >>> >>> Some signals are. For example, you can catch Ctrl-C with >>> process.on('SIGINT', cb) (maybe not on Windows). >>> >>> However, signals like SIGSTOP (which is what some terminals send if >>> you press Ctrl-S) cannot be caught. >>> >>> -- >>> Job Board: http://jobs.nodejs.org/ >>> Posting guidelines: >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/nodejs?hl=en?hl=en >>> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
