NvtText() action

From The x3270 Wiki

New in 4.0

In NVT mode, NvtText() returns the output sent by the host since the last call to NvtText().

In 3270 mode, it returns nothing.

Note that there is a limit of 4096 bytes of text that will be saved. If more than that has arrived since the last call, NvtText() will only return that last 4096 bytes.

Examples

c3270> NvtText()
\r\nProtocol mismatch.\r\n

Notes

AnsiText() is a deprecated alias for NvtText().