tell the terminal device that the character that causes a SIGINT to be sent to the foreground job is something else (like with stty int '^K' in a shell).ignore the SIGINT signal usually sent upon pressing Ctrl-C (like with trap '' INT in a shell) or have their own handler for it that decides not to terminate (or fails to terminate in a timely fashion).