How can I remap Ctrl+C to send an interrupt signal with another key?
Solution 1:
You can use stty to set the interrupt character.
stty intr q
Will set the interrupt character to your 'q' key. (I'm sorry, I'm not sure about the ESC code at this time). To set it back to CTRL+C, do:
stty intr ^C