erase indication

From The x3270 Wiki

A b3270 protocol message that indicates that the screen was erased and possibly resized.

Attribute/Member Always present? Type Purpose
logical-rows no number Current number of rows
logical-cols no number Current number of columns
fg no string Foreground color for the entire screen
bg no string Background color for the entire screen

The fg and bg colors are present only in color mode.

A new set of logical-rows and logical-cols values indicates a switch between 3270 primary and alternate display modes. (Primary is 24 rows of 80 columns, alternate may be larger.) Some user interfaces may choose to switch window sizes or fonts in response to this switch.

The erased state of a screen is:

  • Blank
  • No graphic rendition attributes
  • Cursor at 1, 1 (upper left)

Example (XML)

<erase logical-rows="43" logical-columns="80" fg="blue" bg="neutralBlack"/>

Example (JSON)

New in 4.2

{ "erase": { "logical-rows": 43, "logical-columns": 80, "fg": "blue", "bg": "neutralBlack" } }