SCP top-level constant

String const SCP

Select Character Path.

Representation: CSI s1;s2 \x20 \x6B

No parameter default values.

SCP is used to select the character path, relative to the line orientation, for the active line (the line that contains the active presentation position) and subsequent lines in the presentation component. It is also used to update the content of the active line in the presentation component and the content of the active line (the line that contains the active data position) in the data component. This takes effect immediately.

s1 specifies the character path:

  • 1 - left-to-right (in the case of horizontal line orientation), or top-to-bottom (in the case of vertical line orientation)
  • 2 - right-to-left (in the case of horizontal line orientation), or bottom-to-top (in the case of vertical line orientation)

s2 specifies the effect on the content of the presentation component and the content of the data component:

  • 0 - undefined (implementation-dependent)

    NOTE

    This may also permit the effect to take place after the next occurrence of CR, NEL or any control function which initiates an absolute movement of the active presentation position or the active data position.

  • 1 - the content of the active line in the presentation component (the line that contains the active presentation position) is updated to correspond to the content of the active line in the data component (the line that contains the active data position) according to the newly established character path characteristics in the presentation component; the active data position is moved to the first character position in the active line in the data component, the active presentation position in the presentation component is updated accordingly

  • 2 - the content of the active line in the data component (the line that contains the active data position) is updated to correspond to the content of the active line in the presentation component (the line that contains the active presentation position) according to the newly established character path characteristics of the presentation component; the active presentation position is moved to the first character position in the active line in the presentation component, the active data position in the data component is updated accordingly.

Implementation

const String SCP = ' k';