-
Notifications
You must be signed in to change notification settings - Fork 137
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
Zmodem transfers/cancellations hang terminal #46
Comments
Ugh. That does not look great. :( I wonder if all of these are caused by the same core issue. It sounds like I'm not resetting the Zmodem state correctly at the right times. |
Thank you very much for this bug report. I really appreciate your attention to detail. It was very, very helpful. Here's a test build: Can you take it for a spin? Thanks! |
Hi @sorenisanerd, it seems like there are some improvements with that build, still seeing some issues with
|
Ugh. It works for me. I guess I'm looking for a race condition. Thanks for checking! I'll get back to you when I've dug deeper :) |
Thanks for looking into it, but please don't stress too much on my account! This is not blocking any work for me, just something I ran into while testing out terminal-sharing tools. |
Same problem |
I've spent a lot of time trying to reliably reproduce this. It happens sometimes, but I've been unable to trigger it while running either Are you doing anything interesting with your command prompt? $PS1 trickery? PROMPT_COMMAND doing anything cool? I don't know. I'll keep digging, but even if this turns out to be a bug in lrzsz or something, we have to support existing versions of it, so I'll whip up a patch for zmodemjs to fix it. Fwiw, we're not alone: |
What version of GoTTY are you using (
gotty --version
)?1.4.0
What operating system and browser are you using?
Ubuntu 22.04, Chrome
What did you do?
If possible, please provide the command you ran.
./gotty -p 7681 -w bash
What did you expect to see?
rz
, cancel upload (close modal)rz
exits and terminal prompt advancessz <filename>
, click Acceptsz <filename>
, click Declinesz
exits and terminal prompt advancessz <filename>
, close modalsz
exits and terminal prompt advancesWhat did you see instead?
If possible, please provide the output of the command and your browser's console output.
rz
, cancel upload (close modal)rz waiting to receive.**B0100000023be50
sz <filename>
, click Accept**B00000000000000
, JavaScript console reports errors:Uncaught PROTOCOL: Only thing after ZFIN should be “OO” (79,79), not: ...
atzsession.js:563
sz <filename>
, click DeclineUncaught PROTOCOL: Only thing after ZFIN should be “OO” (79,79), not: ...
,sz: skipped: <filename>
is written to terminal but prompt is stucksz <filename>
, close modal**B00000000000000
until it eventually times outThe text was updated successfully, but these errors were encountered: