screen indication

From The x3270 Wiki

A screen indication is a b3270 protocol message that indicates a screen update. It optionally contains a cursor indication.

In XML, it contains zero or more row indications.

In JSON, it may contain a rows indication. New in 4.2

Note that a screen indication does not specify the entire contents of the screen; it is an incremental update to what is already displayed.

Example (XML)

<screen>
 <cursor enabled="true: row="2" column="1" />
 <row row="1">
  <char column="1" text="abcde" fg="red" />
  <char column="12" text="zxcvb" fg="blue" />
  <attr column="46" bg="green" count="4" />
 </row>
 <row row="22">
  <char column="18" text="foo" />
 </row>
</screen>

Example (JSON)

New in 4.2

{
  "screen": {
    "cursor": { "enabled": true, "row": 2, "column": 1},
    "rows": [
      {
        "row": 1,
        "changes": [
          { "column": 1, "text": "abcde", "fg": "red" },
          { "column": 12, "text": "zxcvb", "fg": "blue" },
          { "column": 46, "bg": "green", "count": 4 }
        ]
      },
      {
        "row": 22,
        "changes": [
          { "column": 18, "text": "foo" }
        ]
      }
    ]
  }
}