TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-36
#BREAKMODE Built-In Variable
#BREAKMODE Built-In Variable
Use #BREAKMODE to disable, enable, or temporarily postpone most of the effect of
the BREAK key.
Result
#BREAKMODE returns the current break mode setting: DISABLE, ENABLE, or
POSTPONE.
Considerations
Use #PUSH #BREAKMODE (or PUSH #BREAKMODE) to save the current break
mode setting.
Use #SET #BREAKMODE (or SET VARIABLE #BREAKMODE) to establish a new
break mode setting.
The syntax for #SET #BREAKMODE is:
DISABLE
immediately turns off the BREAK key. Pressing the key has no further effect,
nor is control of the key given to another process. If the previous break mode
was POSTPONE and someone had pressed the BREAK key, TACL discards
the postponed break.
ENABLE
immediately turns on the BREAK key; TACL takes control of the key without
noting whether control had been taken by another process. If the previous
break mode was POSTPONE and someone had pressed the BREAK key, the
postponed break immediately takes effect as though the key had just been
pressed.
POSTPONE
turns on the BREAK key until someone presses the key once. After the key is
pressed, TACL turns off the BREAK key; further breaks have no effect. Control
of the BREAK key is not given to another process. If the previous break mode
was POSTPONE and someone had pressed the BREAK key, TACL discards
the postponed break. If there is active I/O on IN or OUT when BREAK is
pressed the final time before it is turned off, that I/O operation is retried.
Use #POP #BREAKMODE (or POP #BREAKMODE) to restore the break mode to
its previous setting.
When you first log on, #BREAKMODE is initialized to ENABLE.
#BREAKMODE
#SET #BREAKMODE { DISABLE | ENABLE | POSTPONE }