(Was an attempt to get Cygwin to recognise the interrupt, but it seems to be doomed so not worth having the extra code in there really.)