how can I redefine the interrupt signal to Escape or Delete key?

I've googled for it but failed to found an answer. I would like to remap my interrupt signal key from ^C to or Delete, what would be the code for it? For example:

stty intr "ESC code"

And back:

stty intr ^C

Solution 1:

You don't want to do this. The character sequence generated by Esc is also used by the extended keys on the keyboard, so each keypress will be like pressing CtrlC followed by some random characters.

Solution 2:

stty intr \033

This works somewhat, but since \033/Escape is used as, well, escape character, it'll break other stuff.