gpt4 book ai didi

shell - 如何让 rlwrap 在 Emacs 的 shell/eshell 中工作?

转载 作者:行者123 更新时间:2023-12-01 08:55:26 26 4
gpt4 key购买 nike

当我尝试获取 rlwrap 时要在 Emacs(版本 24.3.50.1)shell 缓冲区( M-x shellM-x eshell )中工作,我收到以下错误消息:

rlwrap: Oops, crashed (caught SIGFPE) - this should not have happened!



例如:
 rlwrap telnet google.com 80

从常规终端(如 xterm)运行良好,但从 Emacs 缓冲区内的 shell 崩溃。

有几个人遇到了类似的问题,但到目前为止我能找到的唯一“答案”是邮件列表上的“RTFM”风格的答案。我确实阅读了 Emacs 文档的那一部分,但我不明白我应该做什么来制作 rlwrap在 Emacs 中工作。

最佳答案

尝试使用 M-x ansi-term而不是 shell/eshell。
shelleshell不提供终端仿真功能,但 readline需要终端仿真功能来移动光标等。

关于shell - 如何让 rlwrap 在 Emacs 的 shell/eshell 中工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26111550/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com