Now, in case your real question is "how do I intercept SIGINT", see the answer elsewhere in this thread. But note that that answer isn't about capturing ^C - merely its effect on some terminals.
In reply to Re: How do we capture CTRL^C
by Anonymous Monk
in thread How do we capture CTRL^C
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |