当尝试运行 rlwrap tclsh
时,我收到此错误消息:
rlwrap: Could not open master pty: No such file or directory
这是什么原因造成的?如何解决这个问题?
附言我正在运行 64 位 CentOS。
最佳答案
检查/dev/ptmx 它应该有 crw-rw-rw- 我曾经有过 crw------ 这导致我的系统出现错误消息。
另见 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.
关于linux - rlwrap: 无法打开 master pty: 没有那个文件或目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3886629/