question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unkown escape characters

See original GitHub issue

In some scenarios a terminal page that connects to a existing pty process that running a nodejs or some commands in-progress, we noticing few escape character that is been sent to backned.

We trying to understand what those means, as those are not filtered they are sent back to frontend and we see them as junk characters.


[3;52R
[1;52R
[19;52R
[19;52R
[19;52R
[19;88R

We couldn’t determine ourself as we are not sending that text from our end, so it seems like something from xterm doing it internally. If you could guide us what those escape character means and how can we avoid showing in the UI.

Details

  • Browser and browser version: Chrome
  • OS version: MacOs
  • xterm.js version: 3.4.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jerchcommented, Oct 26, 2018

@veeramarni Those are cursor position reports, they will be sent by the emulator after a device status request. Means some program you are using requests cursor positions. If those are not consumed they stack up in STDIN until some later program reads STDIN (a shell would also echo it back to the emulator since it treats STDIN as user input).

0reactions
jerchcommented, Nov 14, 2018

Closing the issue since it is not caused by xterm.js.

Read more comments on GitHub >

github_iconTop Results From Across the Web

warning: unknown escape sequence '\ - Stack Overflow
In C string literals the \ has a special meaning, it's for representing characters such as line endings \n .
Read more >
In c, [Warning] unknown escape sequence: '\8'.What does this ...
An escape sequence is a sequence of characters that does not represent itself when used inside a character or string literal, but is...
Read more >
Rupert Wood - Re: warning: unknown escape sequence '\)'
By default (I think), an unrecognised escape code will just emit the escaped character without the escaping backslash, i.e. this will be treated ......
Read more >
External table - unknown escape sequence — oracle-tech
Hello all, I have a question about External tables. I have a CSV file like this:
Read more >
unknown escape sequence: '\W' [enabled by default] and error ...
when we put \ before a character it is count as an escape character by compiler. \W is examined as escape character in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found