Bash on Ubuntu on Windows - rlwrap could not open master pty

◇◆丶佛笑我妖孽 提交于 2019-12-05 13:16:56

Windows Subsystem for Linux (WSL) doesn't (yet?) have a working pty implementation. I suspect that opening /dev/ptmx always fails for this reason, even though the device file exists and has the right permissions.

rlwrap, but also programs like screen and tmux, are never going to work without a pty device. They fail under WSL for the same reason as rlwrap.

Hans (rlwrap maintainer)

I just had the same issue on my Ubuntu 16.04. Purging and re-installing rlwrap solved the problem for me.

sudo apt-get purge rlwrap
sudo apt-get install rlwrap

Of course this is a bit of a different issue because it's not exactly WSL.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!