On Monday, 10 May 2021 at 23:20:47 UTC, Tim wrote: > Hi all, > > How can I get a D program to detect something a keyboard > interrupt so I shut things down in a specific way? import core.sys.posix.signal; then you can use the same functions as C to set signal handlers.