Thank you for improving my patch (also thanks for forwarding message to my mail address). I've confirmed it works fine for me with x11. These few days, I was considering about your first proposal on implementation of its own signal handler to gnuplot. However, I found it not so easy; term->waitforinput is called from readline routines, and readline has its own signal handlers. I therefore think it is a good choice to wrap signal handling stuffs into a separate function and share it from multiple...
Thank you for improving my patch (also thanks for forwarding message to my mail address). I've confirmed it works fine for me with x11. These few days, I was considering about your first proposal on implementation of its own signal handler to gnuplot. However, I found it not so easy; term->waitforinput is called from readline outines, and readline has its own signal handlers. I therefore think it is a good choice to wrap signal handling stuffs into a separate function and share it from multiple terminals....