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

Unable to deal with the SHIFT OUT unicode character: \u000e #6

Closed
dippynark opened this issue May 20, 2018 · 3 comments
Closed

Unable to deal with the SHIFT OUT unicode character: \u000e #6

dippynark opened this issue May 20, 2018 · 3 comments

Comments

@dippynark
Copy link

Playing the following cast:

{"version":2,"width":80,"height":80,"timestamp":0}
[0,"o","\u000etest"]

gives the following output due to the \u000e character:

├␊⎽├    

however the cast plays correctly using the asciinema CLI.

@dippynark
Copy link
Author

For a bit of background, I have developed an application that logs all shell sessions on a server, and I want to be able to deal with any terminal output - if someone cats a binary, the output often returns \u000e by chance, which prevents asciinema-player from being able to play it

@ku1ik
Copy link
Collaborator

ku1ik commented Jun 7, 2018

That's interesting 🤔 Shift out is supposed to be supported:

https://github.com/asciinema/vt/blob/master/src/asciinema/vt.cljc#L333
https://github.com/asciinema/vt/blob/master/src/asciinema/vt.cljc#L113-L114

I'll try to reproduce and debug with your example cast file.

@ku1ik
Copy link
Collaborator

ku1ik commented Dec 11, 2021

For later ref: https://vt100.net/docs/vt220-rm/chapter4.html

@ku1ik ku1ik transferred this issue from asciinema/asciinema-player Dec 11, 2021
@ku1ik ku1ik closed this as completed in 1ebafe2 Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants