Trapping signals

trap signal command
trapabort [off]

Arrange for command to be executed whenever the signal signal is received. signal may be specified symbolically (eg TERM or XCPU) or numerically (15 and 24 in previous example).

trapabort arranges for the TCL error handler to be called whenever a segmentation violation, illegal instruction or bus error occurs. Often the error is mild enough, that processing can continue -- it is used in particular with the Object Browser. Specifying trapabort off turns off this behaviour -- you definitely need this disabled when running Eco Lab in a debugger.