-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
Description of the new feature/enhancement
The DECID (Identify Device) report is essentially an alias of the DA (Device Attribute) report, but it's queried with the ESC Z escape sequence, matching the VT52 identification query. It can thus be used by applications supporting both VT52 and VT100+ terminals, which need a way to query which device type is in use.
Later DEC terminals discouraged its use (since it conflicts with a reserved ECMA/ANSI control), and only support the sequence at lower conformance levels. However, most modern terminal emulators don't bother with that distinction (i.e. they always support it), so for now at least, I'd recommend just treating it as a simple DA alias.
Proposed technical implementation details (optional)
All that's really needed is to hook up the escape sequence in OutputStateMachineEngine::ActionEscDispatch to call the existing DeviceAttributes dispatch method.