-
Notifications
You must be signed in to change notification settings - Fork 88
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
vim seems to crash session replay #385
Comments
Do you mean that Note that for software using a lot of terminal control chars like vim, be sure to replay the session in a terminal at least as big as the original one, or the output will be somehow garbled. But it should never crash in any case. |
Yes it exits just right after it tries to display vim. Note: I use the same terminal for both ssh and the replay. Here I copy paste what I see when using the selfPlaySession command:
|
Would you be okay to attach this test file to this bug report? |
Yes sure, I will send you the recorded session as soon as possible! Edit: Sorry, I misread. |
Here you can find the file which doesn't work well with ttyplay (at least on my computer): |
I have the same problem here, I tried to only use ovh-ttyrec on my local machine (MacOS 14, iTerm 3.4.20, zsh 5.9) and the replay crashes sometimes when I use vim but don't execute too many commands. It seems that entering insert mode makes it so that the recording doesn't crash - maybe it edits the right character in the terminal window ? Here is a record that works: 2023-10-03.10-23-23.224270.8829.ttyrec.zip And here is a record that crashed: 2023-10-03.10-22-53.492213.8634.ttyrec.zip In both cases, I only open a file using vim, fiddle around a bit, close it down and end the recording. In the working case, I do more edits than in the crashing case, which leads me to my hypothesis above. |
Hey @CorentinDeBoisset , It's not clear to me whether, in your use case, it is I'm using xfce4-terminal under Linux, so maybe what I'm seeing is different from what you see under iTerm, can you detail exactly what you mean by "crash"? Is it during the recording? Does ttyrec crash completely and kills your shell? Or is it just during the replay? |
As a side note, if ttyplay seems to be the problem, can you try with |
It is indeed when replaying the recording with
I'm on MacOS but i'll investigate on how to install its-playback-time. |
Hello, thanks for this amazing project!
I've tried to open vim in some of my sessions.
When I want to replay these sessions, it crashes immediatly after the vim command is entered.
Is there any tips to workaround this issue?
Thanks
The text was updated successfully, but these errors were encountered: