跳到主要内容

Escape Sequence Support

This list includes all escape sequences Rio currently supports.

Legend

The available statuses are PARTIAL, IMPLEMENTED and REJECTED. While a status of PARTIAL means there is still work left to be done, a status of IMPLEMENTED for something partially implemented means all other features were rejected.

All whitespace in escape sequences is solely for formatting purposes and all relevant spaces are denoted as SP. The escape parameters are omitted for brevity.

ESC codes - ESC

ESCAPESTATUSNOTE
ESC (IMPLEMENTEDOnly charsets B and 0 are supported
ESC )IMPLEMENTEDOnly charsets B and 0 are supported
ESC *IMPLEMENTEDOnly charsets B and 0 are supported
ESC +IMPLEMENTEDOnly charsets B and 0 are supported
ESC =IMPLEMENTED
ESC >IMPLEMENTED
ESC 7IMPLEMENTED
ESC 8IMPLEMENTED
ESC # 8IMPLEMENTED
ESC DIMPLEMENTED
ESC EIMPLEMENTED
ESC HIMPLEMENTED
ESC MIMPLEMENTED
ESC ZIMPLEMENTED

CSI (Control Sequence Introducer) - ESC [

ESCAPESTATUSNOTE
CSI ` IMPLEMENTED
CSI @IMPLEMENTED
CSI AIMPLEMENTED
CSI aIMPLEMENTED
CSI BIMPLEMENTED
CSI bIMPLEMENTED
CSI CIMPLEMENTED
CSI cIMPLEMENTED
CSI DIMPLEMENTED
CSI dIMPLEMENTED
CSI EIMPLEMENTED
CSI eIMPLEMENTED
CSI FIMPLEMENTED
CSI fIMPLEMENTED
CSI GIMPLEMENTED
CSI gIMPLEMENTED
CSI HIMPLEMENTED
CSI hPARTIALOnly modes 4 and 20 are supported
CSI ? hPARTIALSupported modes:
1, 3, 6, 7, 12, 25, 1000, 1002
1004, 1005, 1006, 1007, 1042, 1049
2004 2026
CSI IIMPLEMENTED
CSI JIMPLEMENTED
CSI KIMPLEMENTED
CSI LIMPLEMENTED
CSI lPARTIALSee CSI h for supported modes
CSI ? lPARTIALSee CSI ? h for supported modes
CSI MIMPLEMENTED
CSI mIMPLEMENTEDSupported parameters:
0-9, 21-25, 27-49, 58, 59
90-97, 100-107
REJECTED11-19, 51-55
CSI nIMPLEMENTED
CSI PIMPLEMENTED
CSI SP qIMPLEMENTED
CSI rIMPLEMENTED
CSI SIMPLEMENTED
CSI sIMPLEMENTED
CSI TIMPLEMENTED
CSI tPARTIALOnly parameters 14, 16, 18, 22 and 23 are supported
REJECTED1-13, 15, 19-21, 24
CSI uIMPLEMENTED
CSI ? uIMPLEMENTED
CSI = uIMPLEMENTED
CSI < uIMPLEMENTED
CSI > uIMPLEMENTED
CSI XIMPLEMENTED
CSI ZIMPLEMENTED

OSC (Operating System Command) - ESC ]

ESCAPESTATUSNOTE
OSC 0IMPLEMENTEDIcon names are not supported
OSC 1REJECTEDIcon names are not supported
OSC 2IMPLEMENTED
OSC 4IMPLEMENTED
OSC 8IMPLEMENTED
OSC 10IMPLEMENTED
OSC 11IMPLEMENTED
OSC 12IMPLEMENTED
OSC 50IMPLEMENTEDOnly CursorShape is supported
OSC 52IMPLEMENTEDOnly Clipboard and primary selection supported
OSC 104IMPLEMENTED
OSC 110IMPLEMENTED
OSC 111IMPLEMENTED
OSC 112IMPLEMENTED

DCS (Device Control String) - ESC P

ESCAPESTATUSNOTE
DCS = sREJECTEDCSI ? 2026 h/l are used instead