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

标签 shell emacs eshell rlwrap

当我尝试获取 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/

相关文章:

linux - 检查 git 提交是否是一天的第一天的脚本

linux - 使用 awk 或 sed 替换 _ 之前的字符串

php - 强制 Emacs 在 php 模式下使用选项卡

emacs - 如何在emacs中自动执行org-mobile-push org-mobile提取

emacs - 在 emacs 中创建多个 eshell 实例

linux - 二维直方图制作

linux - 在 shell 中从文件中删除模式线的快速方法

emacs - 无法在 Emacs 中启动 Ensime 调试器

emacs - 怎么写shell脚本?

emacs - 相当于 emacs *eshell* 中的 "exec"?