Skip to content

303B OffEscLocalFunction

Stub   MON 303B (195 decimal) · Mnemonic ELOFF · Group: File System Operations (manual section 2.9)

Available from: Background programs (manual compatibility box)

Emulation source: src/handlers/mon_303B_OffEscLocalFunction.c

Description

Delays the escape and local functions for your terminal. Then the ESCAPE key or LOCAL key does not terminate a program or remote connection immediately. Their functions are delayed until OnEscLocalFunction is executed.

Notes

  • Enable the escape and local functions again by OnEscLocalFunction.
  • If both the ESCAPE and the LOCAL keys are pressed, local is executed on OnEscLocalFunction.
  • This monitor call is used to protect critical instruction sequences.

Parameters

None.

See also

SetEscapeHandling, OnEscLocalFunction, DisableEscape, and DisableLocal

Compatibility

Machines Users Programs
ND-100 All users Background programs

The manual's compatibility box for this call, word for word.

Yes/no fields from the YAML extraction (not in the manual's words):

ND-100 ND-500 User programs RT programs System programs
No No Yes Yes No

Disagreement

The manual box says ND-100, but the yes/no fields say ND-100 = No, ND-500 = No. The manual box is the source.

Examples

From the manual (OCR text, not corrected).

ON ROUTINEERROR DO
    IF ErrCode > 0 THEN ...
ENDON
Monitor_Call('OffEscLocalFunction')
Monitor_Call('OffEscLocalFunction')
IF (ErrCode .NE. 0) THEN ...
OffEscLocalFunction;
IF ErrCode <> 0 THEN ...
01 ErrCode COMP.
...
MONITOR-CALL "OffEscLocalFunction".
CALL "CbError" USING ErrCode.
IF ErrCode NOT = 0 GO ...
|     |     |     |
| --- | --- | --- |
| MON | 303 | %Monitor call OffEscLocalFunction. |
| JMP | ERROR | %Error return from monitor call. |
| ... | ... | %Normal return. |
| ERROR, | ... | %Error number in register A. |

ndmonlib implementation

Stub Registered MON_STATUS_NOT_IMPLEMENTED: the handler is a stub. mon_dispatch() in src/core/mon_dispatch.c reports the call as unimplemented without calling it.

Handler mon_303B_OffEscLocalFunction
Code lines 5 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN), page 363.