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

WSL Ubuntu 18.04 display freezes when cat file with some binary #5172

Closed
harshana-pickme opened this issue May 4, 2020 · 5 comments
Closed
Labels

Comments

@harshana-pickme
Copy link

freeze.gz
Please fill out the below information:

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.18363.778]

  • What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

copy the attached file freeze.gz to another linux machine (mine was a remote ubuntu server).
unzip the file.
it is text file with some binary characters. you can run cat freeze | xxd to see what is inside
now ssh to the remote machine from the WSL ubuntu 18.04 terminal
run: cat freeze
This will freeze the terminal.
But if you type exit, you will exit the ssh session and things will start to work normally.

freeze.gz

@ywsswy
Copy link

ywsswy commented May 4, 2020

i usually run ssh service in WSL, and use XShell to connect to WSL.

It fails in WSL but not in XShell.

@onomatopellan
Copy link

Did you try that in the new Windows Terminal?
In any case the upcoming Windows 10 version 2004 (build 19041) has a fix that perfectly fits your problem. #4495

@DHowett-MSFT
Copy link

But also, why would you cat binary files to your terminal?

@harshana-pickme
Copy link
Author

But also, why would you cat binary files to your terminal?

Not intentionally doing it. When you cat a text file, it has few random non printable text, terminal hangs. It's really bad experience. All the other terminal programs handle it perfectly.

@zhouzhendiao
Copy link

I also encountered a similar problem, when cat file with Chinese characters

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants