Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xterm.js terminal -- control code corruption #3277

Closed
slel opened this issue Oct 9, 2018 · 3 comments
Closed

xterm.js terminal -- control code corruption #3277

slel opened this issue Oct 9, 2018 · 3 comments
Assignees

Comments

@slel
Copy link
Contributor

slel commented Oct 9, 2018

It seems the problem from #1269 is back with the new xterm.js terminal -- hopefully the
same fix can avoid any unsolicited ;1R from appearing?

@williamstein
Copy link
Contributor

Sometimes back again -- I saw this after returning to a session after having had my laptop closed for a while. It's so annoying how restoring the history causes this!

screenshot 2018-10-11 at 4 16 14 pm

@williamstein williamstein reopened this Oct 11, 2018
@williamstein
Copy link
Contributor

Non screenshot version:

~/cocalc/src$ :0+r436f^[\^[P0+r6b75^[\^[P0+r6b64^[\^[P0+r6b72^[\^[P0+r6b6c^[\^[P0+r2332^[\^[P0+r2334^[\^[P0+r2569^[\^[P0+r2a37^[\^[P0+r6b31^[\^[P0+r6b32^[\^[P0+r6b33^[\^[P0+r6b34^[\^[P0+r6b35^[\^[P0+r6b36^[\^[P0+r6b37^[\^[P0+r6b38^[\^[P0+r6b39^[\^[P0+r6b3b^[\^[P0+r4631^[\^[P0+r4632^[\^[P0+r2531^[\^[P0+r2638^[\^[P0+r6b62^[\^[P0+r6b49^[\^[P0+r6b44^[\^[P0+r6b68^[\^[P0+r4037^[\^[P0+r6b50^[\^[P0+r6b4e^[\^[P0+r4b31^[\^[P0+r4b33^[\^[P0+r4b34^[\^[P0+r4b35^[\^[P0+r6b42^[\^[[2;2R^[[>0;276;0c^[P0+r436f^[\^[P0+r6b75^[\^[P0+r6b64^[\^[P0+r6b72^[\^[P0+r6b6c^[\^[P0+r2332^[\^[P0+r2334^[\^[P0+r2569^[\^[P0+r2a37^[\^[P0+r6b31^[\^[P0+r6b32^[\^[P0+r6b33^[\^[P0+r6b34^[\^[P0+r6b35^[\^[P0+r6b36^[\^[P0+r6b37^[\^[P0+r6b38^[\^[P0+r6b39^[\^[P0+r6b3b^[\^[P0+r4631^[\^[P0+r4632^[\^[P0+r2531^[\^[P0+r2638^[\^[P0+r6b62^[\^[P0+r6b49^[\^[P0+r6b44^[\^[P0+r6b68^[\^[P0+r4037^[\^[P0+r6b50^[\^[P0+r6b4e^[\^[P0+r4b31^[\^[P0+r4b33^[\^[P0+r4b34^[\^[P0+r4b35^[\^[P0+r6b42^[\

@williamstein
Copy link
Contributor

Re-opening. This only happens when reconnecting (so it's not extremely annoying like it used to be), often after not using the terminal for a while. It may be impossible to avoid this without a major change in architecture, due to not having "infinite history"....

Options:

  • do not store the history at all. Pretty sad.
  • Maybe store way more history? That could help a lot. It's worth a try.

@williamstein williamstein reopened this Oct 14, 2018
williamstein added a commit that referenced this issue Oct 14, 2018
williamstein added a commit that referenced this issue Oct 15, 2018
…different approach to this whole problem (which is totally unsolved by anybody, frankly).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants