Closed max-dw-i closed 4 months ago
@max-dw-i Can you show me an output capture with this character sequence? I am not seeing/finding any references to ESC[c
looking at ANSI reference codes?
Yeah, I couldn't find either but as far as I understand there might be not typical codes. Here is an output example:
\u0018
(ctrl-x) to enter the safe-mode
via send_command_timing
:
[Safe Mode taken]
[user@HOSTNAME] <SAFE>
/system identity print
name: HOSTNAME
\x1b[9999B[user@HOSTNAME]
Looks like it is probably:
Device Status
The following codes are used for reporting terminal/display settings, and vary depending on the implementation:
Query Device Code <ESC>[c
Requests a Report Device Code response from the device.
From here:
https://www2.ccs.neu.edu/research/gpc/VonaUtils/vona/terminal/vtansi.htm
Superceded by:
Some 'MikroTik' devices add ANSI escape codes 'ESC[c' to the end of the output when in 'safe-mode'