NM and CM callable (difference noted below).
Arms or disarms user-written subsystem break trap handling
procedure.
Operation Notes |
 |
Call XCONTRAP to arm a user-written subsystem break trap handling
procedure. This trap handler is invoked when an enabled subsystem
break signal is received during an interactive session. Calling XCONTRAP from a job results in an error.
On most terminals, transmit the subsystem break signal by
pressing CTRLY (the default for sending a subsystem break signal). Subsystem
break traps are also referred to as control-Y traps.
Only one process in a session can receive a subsystem break
trap at any one time. The process that called XCONTRAP most recently receives the next subsystem break
trap. Once a process has received a subsystem break trap, it cannot
receive another until it calls the RESETCONTROL intrinsic to reenable the subsystem break trap.
Only processes running in a session can enable subsystem break traps.
The trap handler can be any procedure in the program or in the libraries
to which the program is bound. The subsystem break trap handler
has no parameters.