{"comment":{"url":"https://api.github.com/repos/tarruda/neovim/comments/9753932","html_url":"https://github.com/tarruda/neovim/commit/7ad272acf37664d5e1f78641ed850c75e39a5b60#commitcomment-9753932","id":9753932,"user":{"login":"tarruda","id":842846,"avatar_url":"https://avatars.githubusercontent.com/u/842846?v=3","gravatar_id":"","url":"https://api.github.com/users/tarruda","html_url":"https://github.com/tarruda","followers_url":"https://api.github.com/users/tarruda/followers","following_url":"https://api.github.com/users/tarruda/following{/other_user}","gists_url":"https://api.github.com/users/tarruda/gists{/gist_id}","starred_url":"https://api.github.com/users/tarruda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarruda/subscriptions","organizations_url":"https://api.github.com/users/tarruda/orgs","repos_url":"https://api.github.com/users/tarruda/repos","events_url":"https://api.github.com/users/tarruda/events{/privacy}","received_events_url":"https://api.github.com/users/tarruda/received_events","type":"User","site_admin":false},"position":82,"line":151,"path":"src/nvim/os/signal.c","commit_id":"7ad272acf37664d5e1f78641ed850c75e39a5b60","created_at":"2015-02-15T21:27:29Z","updated_at":"2015-02-15T21:27:29Z","body":"> What about kill -SIGINT? Is there any reason we need to support that?\r\n\r\nNo more reason than we would need to support every signal available for a platform. The default handling of signals is to terminate the process, if we were to worry about every signal that can be sent manually by users then we'd need special handling for `SIGUSR1`, `SIGUSR2`, etc. And then the user could still kill the process with `SIGKILL` which is not possible to catch.\r\n\r\nFor example, I just sent `kill -INT $(pidof gpg-agent)` and the process was terminated. This means gpg-agent(which I believe is a well-behaving unix daemon) does not catch `SIGINT`, but then it was never documented anywhere that the user should be sending `SIGINT` to it."}}