blink
blink copied to clipboard
ssh session hanging in beta when changing stty settings
In my .zshrc, I run it2check to see if the ssh session is coming from iterm2 so that I can enable some of its extra features.
When I long in with ssh in blink, it hangs when this script is run. Strangely, it works fine if I log in with mosh instead. I don't experience this problem with any other ssh clients.
I think it's triggered by line 81 of this script https://github.com/gnachman/iterm2-website/blob/master/source/utilities/it2check
@drbarrett thank you for your feedback.
actually this scripts hangs in read_dsr
.
Will look in detail tomorrow.
Right now I think, it is because hterm starts to support 1337
code (for displaying images). But we didn't catch up (or hterm doesn't support it like iTerm2). I will disable this code until we get it working properly.
It looks like the second call to read_dsr
is causing the hang. Changing the $version_string test to also check for an empty string seems for fix the problem:
if [ -n "${version_string}" ] && [ "${version_string}" != "0" ] && [ "${version_string}" != "3" ]; then
I've submitted https://gitlab.com/gnachman/iterm2/-/issues/10469 to the iTerm2 project for this.