() "Mike Gran" () Sun, 11 Jun 2017 10:50:49 -0700 I want to make it so, when the program receives a SIGINT, it aborts the operation in progress and restarts this big main loop. Use ‘sigaction’ and a periodic check. For example: