Extended Cursor Position Report (DECXCPR) is a control sequence that reports the cursor's position along with the page number (optional).
DECXCPR
CSI ? Pl ; Pc R Copy
CSI ? Pl ; Pc R
CSI ? Pl ; Pc ; Pv R Copy
CSI ? Pl ; Pc ; Pv R
Where Pl is the line number, Pc is the column number, and Pv is the page number.
If the page number is zero or negative, the returned sequence won't include the page number.
The line number (minimum 1)
The column number (minimum 1)
The page number (optional if < 1)
The DECXCPR escape sequence
https://vt100.net/docs/vt510-rm/DECXCPR.html
Extended Cursor Position Report (
DECXCPR
) is a control sequence that reports the cursor's position along with the page number (optional).Where Pl is the line number, Pc is the column number, and Pv is the page number.
If the page number is zero or negative, the returned sequence won't include the page number.