I have recently started using GNU screen on cygwin, but the functionality to terminate a foreground process with CTRL-C does not seem to work when there is an active screen session. Is there a workaround for this?
If you mean to terminate in the screen it-self, you could try the following shortcut:
It will send kill signal to the process (additional confirmation is required).
You can suspend the job:
and it'll return you the job ID of that process
To continue the process in foreground, you can run:
In the background:
If you want to kill it:
(replace 1 with your job ID).
Note: Don't forget about % sign, otherwise you'll kill something else.