HexString() action

From The x3270 Wiki

Enters text on the terminal, as if typed on the keyboard. The data is specified in hexadecimal.

By default, if the emulator is in 3270 mode, the text is interpreted as EBCDIC. If the emulator is in NVT mode, the text is interpreted as ASCII (according to the workstation's locale).

Parameters

-Ascii
Forces the text to be interpreted as ASCII. New in 4.0
string
Text to add. It can optionally begin with 0x.

Examples

Add the string foo in NVT mode.

HexString(0x666f6f)

Add the string foo in 3270 mode.

HexString(0x869696)

Add the string foo in either NVT mode or 3270 mode. New in 4.0

HexString(-Ascii,0x666f6f)