rlwrap:无法打开master pty:没有这样的文件或目录 [英] rlwrap: Could not open master pty: No such file or directory
问题描述
尝试运行 rlwrap tclsh
时收到此错误消息:
rlwrap:无法打开master pty:没有这样的文件或目录
如何解决此问题?
我运行64位CentOS。
检查/ dev / ptmx
have
crw-rw-rw -
我曾经有过
crw -------
请参阅 man ptmx :
文件/ dev / ptmx是主要数字5和次要数字2的字符文件,通常为模式0666和root.root的owner.group。它用于创建伪终端主从副本。
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.
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.
这篇关于rlwrap:无法打开master pty:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!