Skip to content

227B SetEscLocalChars

Stub   MON 227B (151 decimal) · Mnemonic MSDAE · Group: Input and Output Monitor Calls (manual section 2.5)

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_227B_SetEscLocalChars.c

Description

You can terminate most programs with the ESCAPE key. A LOCAL key has a similar function. It terminates a connection to a remote computer in a network. This monitor call allows you to select other keys for these functions.

Notes

  • The local function is only used by COSMOS.
  • Appendix F shows the ASCII values of the characters.

Parameters

Name Type Direction Description
DeviceNo INTEGER In Logical device number. See appendix B. Only used by RT programs. Your own terminal is always used in background program.
DisconnectChar INTEGER In The local character.
EscapeChar INTEGER In The escape character.

Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.

See also

SetEscapeHandling, GetEscLocalChars, OnEscLocalChars, OffEscLocalChars

Compatibility

Machines Users Programs
ND-100 and ND-500 All users All 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
Yes Yes Yes Yes No

Examples

From the manual (OCR text, not corrected).

INTEGER : DeviceNo, DisconnectChar, EscapeChar
...
Monitor_Call('SetEscLocalChar', DeviceNo, DisconnectChar, EscapeChar)
INTEGER DeviceNo, DisconChar, EscapeChar
...
Monitor_Call('SetEscLocalChar', DeviceNo, DisconChar, EscapeChar)
DeviceNo, DisconnectChar, EscapeChar : INTEGER2;
...
SetEscLocalChar(DeviceNo, DisconnectChar, EscapeChar);
01 DeviceNo COMP.
01 DisconChar COMP.
01 EscapeChar COMP.
...
MONITOR-CALL "SetEscLocalChar" USING DeviceNo, DisconChar, EscapeChar.
DeviceNo : W BLOCK 1
DisconnectChar : W BLOCK 1
EscapeChar : W BLOCK 1
SetEscLocalChar : EQU 37B9 + 227B
...
CALLG SetEscLocalChar, 3, DeviceNo, DisconnectChar, EscapeChar
LDT DEVNO                 %Logical device number.
LDA CHAR                  %Left byte: disconnect char,
                          % right byte: escape char.
MON 227                   %Monitor call SetEscLocalHandling.
...
DEVNO, ...
CHAR, ...

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_227B_SetEscLocalChars
Code lines 8 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN).