rlwrap: Could not open master pty: No such file or directory

青春壹個敷衍的年華 提交于 2019-12-11 04:08:45

问题


When trying to run rlwrap tclsh I am getting this error message:

rlwrap: Could not open master pty: No such file or directory

What causes this? How to fix this issue?

P.S. I am running 64 bit CentOS.


回答1:


check /dev/ptmx it should have crw-rw-rw- I once had it crw------- this caused the error message at my system.

see also man ptmx:

The file /dev/ptmx is a character file with major number 5 and minor number 2, usually of mode 0666 and owner.group of root.root. It is used to create a pseudo-terminal master and slave pair.



来源:https://stackoverflow.com/questions/3886629/rlwrap-could-not-open-master-pty-no-such-file-or-directory

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