类似于 Emacs shell 的东西吗?
我正在寻找类似于 Emacs shell 的东西。 我希望能够在终端中轻松选择文本,能够操作输出。
不幸的是,emacs 并不总是一个选择。我不知道如何让一些事情(例如自动完成)像在 gnome-terminal 中那样工作,这在远程系统上有点痛苦。
我宁愿不花时间修复/配置 Emacs,除非有一个很酷的软件可以做类似 gnome-terminal 的事情 + 让我在不接触该死的鼠标的情况下操纵输出。
谢谢你的帮助,
-hbt
I'm looking for something similar to Emacs shell.
I want to be able to select text easily in my terminal, be able to manipulate the output.
Unfortunately, emacs is not always an option. I can't figure out how to make a few things (e.g autocompletion) work the way it does in gnome-terminal and it is a bit of a pain on remote system.
I would rather not spend the time fixing/configuring Emacs unless there is a cool piece of software out there doing something similar to gnome-terminal + let's me manipulate the output without touching the bloody mouse.
Thanks for your help,
-hbt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我不确定我是否完全理解这个问题,但如果您正在 Emacs 内部寻找终端仿真,Emacs 22+ 中至少有四个选项可以提供不同级别的类似 xterm 的功能:
eshell,在我看来,是最脱离传统“xterm”体验的,但也提供了最像缓冲的体验,而且它是跨平台的,这是一个巨大的胜利。
我认为,如果您正在寻找类似术语的行为,同时保留编辑功能,那么 shell 可能是您的最佳选择。
最后,term 和 ansi-term 与 term 非常相似,并且其行为几乎与 xterm/konsole/gnome-shell 会话完全相同。
另请注意:如果您想要回滚访问、复制、粘贴等,并且您没有可用的 Emacs,我强烈建议您学习和使用 GNU Screen。
I'm not sure I completely understand the question, but if you're looking for terminal emulation inside of Emacs, there are at least four options bundled with Emacs 22+ that offer varying levels of xterm-like capability:
eshell, IMO, is the most departed from the tradtional "xterm" experience, but also offers the most buffer-like experience, and it is cross-platform, which is a huge win.
I think shell might be the sweet spot for you if you're looking for term-like behavior, while retaining the editing capabilities.
Finally, term and ansi-term are very term-like, and will behave almost exactly like a xterm/konsole/gnome-shell session.
One other note: if you want scrollback access, copying, pasting, etc. and you don't have Emacs available, I highly recommend learning and using GNU Screen.
您应该尝试 Emacs 终端模拟器 term (或其彩色版本 ansi-term)。还有其他适用于 Emacs 的终端模拟器,但这是最受欢迎的(也是唯一与默认安装捆绑在一起的终端模拟器)。
You should try the Emacs terminal emulator term(or its colored version ansi-term). There are other terminal emulators for Emacs around, but this is the most popular(and the only one bundled with the default installation).
看起来您想研究 bash 上的 readline (或者如果您最喜欢的 shell 上有的话)。快速谷歌在此处提供了一些链接(包括备忘单) )。
Looks like you want to look into readline on bash (or if available on your favourite shell). A quick google gives a few links here (including a cheatsheet).
我也在寻找某种像 emacs 这样的 shell,支持某些功能,例如 emacs 缓冲区。那太好了。
我刚刚找到了这个:终结者
看看:
http:// www.makeuseof.com/tag/5-applications-to-change-the-way-you-work-with-linux-terminal/
I was also looking for some kind of shell like emacs, with support to some feature like emacs buffers for example. That would be great.
I just found this one: Terminator
Have a look:
http://www.makeuseof.com/tag/5-applications-to-change-the-way-you-work-with-linux-terminal/