currently there seems to be no well defined way to abort a running basf2 programm. it is certainly possible to just close the shell on which the programm is running, but i think, we could have some more reasonable way of handling this.
e.g. the program could stop taking new events and calling the endrun and terminate functions as if the current event was the last event to process in the case of ctrl-c. in this case one would even have some valid output, e.g. for debugging.

@thomas, i hope you are fine, that i assign this task to you...