mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 158 forks source link

Can't type anything #96

Closed YXuewei closed 6 years ago

YXuewei commented 6 years ago

after open terminal, won't be able to type anything into console. When press a key, cursor won't blink, but nothing came out. Tried re-download and replace any existing file, won't work

goreliu commented 6 years ago

Is wsl.exe working well?

YXuewei commented 6 years ago

Yes, wsl itself works perfectly fine. Just open-wsl have this problem, it will load into zsh, but after that, I can't input anything. Tried to alter encoding from UFT-8 to others and switch back, not working, tried to change my input language other than English, nor working, tried change non-unicode language setting, still not working,.

goreliu commented 6 years ago

Is bin\wslbridge.exe working? Than bin\mintty.exe /bin/wslbridge.exe, and bin\mintty.exe /bin/wslbridge.exe -t zsh.

YXuewei commented 6 years ago

No, bin\wslbridge.exe is not working, it's loaded into zsh, but still, can't input anything When I try to open bin\mintty.exe, it says : Failed to run '/bin/bash': No such file or directory

goreliu commented 6 years ago

Than you can try bin\wslbridge.exe -t bash and bin\wslbridge.exe -t vim, run them in cmd.exe.

YXuewei commented 6 years ago

I won't be able to, it loaded into zsh, but I 'm not be able to type anything into it. 1 This is what it looks like when I run open-wsl or wslbridge.exe, then in this windows, I can't input anything no matter what

goreliu commented 6 years ago

You can clear ~/.zshrc, and add contents to it.

YXuewei commented 6 years ago

tried remove and re-install zsh, rewrite zshrc, set bashrc to default. reinstalled WSL-Terminal, none of them were working. I had to give up on it and get back into windows command prompt default shell.