https://github.com/luca-vercelli/tn5250
Inside session, you can type:
^H = Left (backspace)
^R = Resume (if locked)
^P = Print
^? = Del
^M = Enter
^E, ^X = delete line?
^I = new line? (Horizontal Tab)
^J, ^K, ^L = delete to eol + new line? (Vertical Tab)
dixit: ^N/^O = toggle character set
AID codes:
KEY Code
F1 31
F2 32
F3 33
F4 34
F5 35
F6 36
F7 37
F8 38
F9 39
F10 3a
F11 3b
F12 3c
F13 b1
F14 b2
F15 b3
F16 b4
F17 b5
F18 b6
F19 b7
F20 b8
F21 b9
F22 ba
F23 bb
F24 bc
CLEAR bd
ENTER f1
HELP f3
DOWN f4
UP f5
PRINT f6
RBS f8
Field Exit key = Shift Delete Down-Arrow-Key