Skip to content

230B GetEscLocalChars

Stub   MON 230B (152 decimal) · Mnemonic MGDAE · Group: Data Communication (manual section 2.13)

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_230B_GetEscLocalChars.c

Description

Gets ESCAPE and LOCAL characters. 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 COSMOS network. The system supervisor may select other keys for these functions. This monitor call tells you which keys to use.

Notes

  • The local function is only used by COSMOS.

Parameters

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

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

See also

SetEscapeHandling, SetEscLocalChars, 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('GetEscLocalChar', DeviceNo, DisconnectChar, EscapeChar)
INTEGER DeviceNo, DisconChar, EscapeChar
...
Monitor_Call('GetEscLocalChar', DeviceNo, DisconChar, EscapeChar)
DeviceNo, DisconnectChar, EscapeChar : INTEGER2;
...
GetEscLocalChar(DeviceNo, DisconnectChar, EscapeChar);
01 DeviceNo COMP.
01 DisconChar COMP.
01 EscapeChar COMP.
...
MONITOR-CALL "GetEscLocalChar" USING DeviceNo, DisconChar, EscapeChar.
DeviceNo : W BLOCK 1
DisconnectChar : W BLOCK 1
EscapeChar : W BLOCK 1
GetEscLocalChar : EQU 37B9 + 230B
...
CALLG GetEscLocalChar, 3, DeviceNo, DisconnectChar, EscapeChar
LDT DEVNO                 %Logical device number.
MON 230                   %Monitor call GetEscLocalChar.
STA CHAR                  %Store returned characters.
...
DEVNO, ...
CHAR, 0                   %Left byte: discon char. Right byte: escape 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_230B_GetEscLocalChars
Code lines 6 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN).