What does HackerNews think of emacs-libvterm?

Emacs libvterm integration

Language: C

#5 in Emacs
#11 in Terminal
Consider vterm instead of ansi-term. It is a fully-fledged terminal emulator. https://github.com/akermu/emacs-libvterm
Nice, but I have moved to https://github.com/akermu/emacs-libvterm and I'm not looking back
> Emacs does not have a proper terminal.

https://github.com/akermu/emacs-libvterm

(global-set-key (kbd "H-v") 'vterm)

I switched from ansi-term to vterm (https://github.com/akermu/emacs-libvterm) and its performance is much better (specially when dealing with large bursts of output).
As an Emacs and Lisp lover, the description of text-based tools and the power of using text to me just screams why something like Lisp is so powerful: homoiconicity. (And at least one big difference for elisp compared to Bash.) To quote Wikipedia [0] for anyone unfamiliar with the term, as I was until learning some Lisp:

"A language is homoiconic if a program written in it can be manipulated as data using the language, and thus the program's internal representation can be inferred just by reading the program itself. This property is often summarized by saying that the language treats "code as data"."

[0] https://en.wikipedia.org/wiki/Homoiconicity

(Edit: and if you want a good terminal emulator, you have eshell (emacs-y), ansi-term, and my current fave vterm [1])

[1] https://github.com/akermu/emacs-libvterm

You could (sort of) reduce it to two, at least in terms of interfaces by using vterm in emacs [https://github.com/akermu/emacs-libvterm] rather than xterm.
> a good terminal mode so I don't need to switch to another terminal, the builtin terminals either lag badly after 10K lines of input or render/behave strangely when used with ncurses programs

I found vterm[1] to be pretty reliable for any kind of "advanced" terminal use. Also much faster when dealing with large amounts of output.

[1]: https://github.com/akermu/emacs-libvterm

For long output and ncurses, libvterm may suffice https://github.com/akermu/emacs-libvterm. The rest of the time, eshell is very comfortable for me.
I _highly_ recommend emacs-libvterm. Without a doubt, it's an advanced install, so I'm not arguing its better for beginners, but I adore it just the same.

https://github.com/akermu/emacs-libvterm

> The problem with Emacs and all its modifications is that it cannot match Vim's flexible system for custom keybindings.

Interesting, my impression was that custom keybindings was more flexible in Emacs + Evil than in Vim. It seemed easier to e.g. define new modes with separate keybindings, and if you use the GUI version, more distinct keybindings are available.

> And the other thing that I could never get used to is that Emacs' terminals can't handle ncurses applications.

It can now. The problem is that there are a lot of shells and terminals available in Emacs, so it's not always obvious which one supports what. But emacs-libvterm [1] is a "real" terminal inside Emacs, and supports ncurses apps well. (The website warns about being alpha level, but I used Emacs + Evil for about half a year, and it worked fine for me.)

[1]: https://github.com/akermu/emacs-libvterm

> I'm fine with Vim, but I'm glad I tried Emacs for a while because it does have some nice ideas.

I ended up with the same conclusion :).