VT100.net VT510 Video Terminal Programmer Information

DSR—Extended Cursor Position Report (DECXCPR)

The host asks the terminal for the current cursor position, including the current page number.

Format

Exchange Sequence Meaning
Request
(Host to Terminal)
CSI ? 6 n The host asks for an extended cursor position report (DECXCPR).
DECXCPR response
(Terminal to host)
CSI Pl; Pc; Pp R The terminal indicates that the cursor is currently at line Pl, column Pc, on page Pp.