开发者

something similar to Emacs shell?

开发者 https://www.devze.com 2023-01-05 06:25 出处:网络
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.

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 n开发者_StackOverflow社区ot 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


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:

  • term
  • ansi-term
  • shell
  • eshell

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.


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).


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).


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消