DECRLM—Cursor Right to Left Mode

This control function starts/stops the right-to-left cursor direction.

Format

CSI
9/11
?
3/15
3
3/3
4
4/4
h
6/8
Set.
CSI
9/11
?
3/15
3
3/3
4
4/4
l
6/12
Reset.

Description

DECRLM state is common to both the main display and the status line display. The status line is effected only when you set it to Host Writable Status Display in the Display Set-Up screen. DECRLM does not affect column numbering within the line. The first line column is always at the left side of the display window. The last column is always at the right side of the display window.

The next character position is defined as the current cursor position minus 1.

If the terminal is in Replace mode (IRM is reset), then:

If terminal is in Insert mode (IRM is set), then:

The following escape sequences are not affected by the DECRLM setting:

ICH - Insert Character
DCH - Delete Character
ED - Erase in Display
EL - Erase in Line
DECSED - Selective Erase in Display
DECSEL - Selective Erase in Line
ECH - Erase Character

The following escape sequences are not affected by the DECRLM setting:

CUP - Cursor Position
HVP - Horizontal and Vertical Position
CUF - Cursor Forward
CUB - Cursor Backward

Notes on DECRLM