6.5.1.6 The INTERRUPT Statement



The built-in menu command interrupt enables or disables interrupts when executing a group of commands. The UNIX trap command can be used to ignore interrupts as well. When interrupts are to be ignored, it is suggested that the built-in interrupt command be used for menufile portability.

Built-in version

UNIX shell version

interrupt expression

trap "" 2

or

interrupt (expression)

For more information about menu's built-in interrupt command and interrupt function, see C/Base Reference Manual Chapter 8, Creating Menus.