you could always try to redefine the shortcut for intr from CTRL-C to
something else in your shell.
E.g.: stty intr ^G would redefine it to CTRL-G
I think it should work both before you do qrsh or even if you do it in
the job script itself.
Hope it helps,
I have an issue where I have ported a LSF script over to the SGE environment. The only outstanding issue I have right now is the behavior of Ctrl-C. When running a program called IRun which is part of the NCSim tool suite, typcially within an interactive LSF shell, we can hit Ctrl-C and drop down into a NC-Sim menu. We can resume by typing . <enter>. It appears that using Ctrl-C when using a qrsh invoked batch job, just results in having the PID terminated.
I think the signal that gets passed in when Ctrl-C is hit is getting intercepted by the QRSH shell before the executing program.
I can't seem to find anything on the topic except an old bug that seemed to indicate this may have worked in the past and was found to be a defect, so it was fixed.
Is there a know solution for changing this behavior?