Signal handlers


The unix.signals vocabulary allows Factor applications to handle a limited subset of Unix signals.
Signals that can be handled by Factor
Factor signal handlers are composable. Adding a signal handler does not replace signal handlers installed by other libraries. Individual signal handlers are added and removed independently with the following words:
add-signal-handler ( handler: ( -- ) sig -- )

remove-signal-handler ( handler sig -- )