VT100.net VT510 Video Terminal Programmer Information

DECOM—Origin Mode

This control function sets the origin for the cursor. DECOM determines if the cursor position is restricted to inside the page margins. When you power up or reset the terminal, you reset origin mode.

Default: Origin is at the upper-left of the screen, independent of margins.

Format

CSI
9/11
?
3/15
6
3/6
h
6/8
Set: within margins.
CSI
9/11
?
3/15
6
3/6
l
6/12
Reset: upper-left corner.

Description

When DECOM is set, the home cursor position is at the upper-left corner of the screen, within the margins. The starting point for line numbers depends on the current top margin setting. The cursor cannot move outside of the margins.

When DECOM is reset, the home cursor position is at the upper-left corner of the screen. The starting point for line numbers is independent of the margins. The cursor can move outside of the margins.