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

Setting PERL_UNICODE breaks everything #300

Closed
andersk opened this issue Jul 17, 2012 · 1 comment
Closed

Setting PERL_UNICODE breaks everything #300

andersk opened this issue Jul 17, 2012 · 1 comment

Comments

@andersk
Copy link
Member

andersk commented Jul 17, 2012

Someone on IRC had a funny environment variable set that breaks mosh like this:

$ PERL_UNICODE=S mosh linerva
Wide character in print at /usr/lib/perl/5.14/IO/Handle.pm line 210.
padding error: need 958 block 8 mod 6
Disconnecting: Packet corrupt
/usr/bin/mosh: Did not find mosh server startup message.

I’m not sure it’s reasonable to expect mosh to behave sanely under such a crazy environment, but we should see what we can do about being more robust or printing a better error.

ddrown added a commit to ddrown/mosh that referenced this issue Jul 17, 2012
Mark all file descriptors involved in raw ssh traffic as binary/raw
@keithw
Copy link
Member

keithw commented Jul 17, 2012

I applied ddrown's patch.

@keithw keithw closed this as completed Jul 17, 2012
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