it would be nice if a process could call some BIF to tell the
emulator it is interested in getting a message when a signal is
received:
signal([sigint, sigterm]), % the BIF
...
receive
{signal, sigint} -> ...;
{signal, sigterm} -> ...
--
d s o l a z @ L E P I D O P T E R O . C O M