Expand description
rt’s 3270 terminal, with its AID bytes checked against the DFHAID copybook syntax serves.
Structs§
- Field
View - A field on the screen: where its attribute byte is, the attribute, and where its data runs.
- Inbound
- What an AID key sent: the key, the cursor (absent in a short read), and each modified field’s data with the address it starts at.
- Screen
- Scripted
- A terminal driven by a screen script: each SEND is applied to the screen and its rendering kept
in
shown; each RECEIVE plays the script up to its next AID key.
Enums§
- Action
- One thing the operator does at the keyboard.
Constants§
- AID_
CLEAR - AID_
ENTER - AID_
NONE - AID_PA1
- AID_PA2
- AID_PA3
- DISPLAY
- ERASE_
ALL_ UNPROTECTED - ERASE_
WRITE - ERASE_
WRITE_ ALTERNATE - EUA
- IC
- INTENSIFIED
- MDT
- MF
- NON_
DISPLAY - NUMERIC
- PROTECTED
- PT
- RA
- SA
- SBA
- SF
- SFE
- WCC_
ALARM - WCC_
RESET_ MDT - WCC_
RESTORE - WRITE
Traits§
- Terminal
- The task’s terminal: SEND writes a 3270 data stream to it, and RECEIVE reads the stream the operator’s next AID key sends back.
Functions§
- aid_of
- The AID byte a key sends: ENTER, CLEAR, PA1-PA3, PF1-PF24.
- attribute_
byte - An attribute’s graphic form: its low six bits through the code table.
- decode_
address - encode_
address - A buffer address as the data stream carries it: 12-bit coded below 4096, else 14-bit binary.
- parse_
inbound - parse_
script - A scripted operator:
type ROW COL text,eof ROW COL,cursor ROW COL, and an AID key (ENTER,CLEAR,PA1..PA3,PF1..PF24) that ends each turn.#starts a comment.