• jason-reddit-public@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I use M-x shell for most shell commands. This provides “infinite” scrollback, easy to grab output into the kill ring, etc. It’s kind of like a temporary notebook (though easy enough to save). When I need a full terminal such as gdb -tui, I use a more traditional terminal emulator like gnome terminal.

  • _viz_@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    None if you don’t care for terminal emulation. You can use M-x shell and have a much better experience.

  • noooit@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I used both extensively but the both are faster than term or shell.
    Vterm is the fastest and most correct about handling key events.
    Maybe term will get similar improvement as vterm in the future. This is such a basic thing that most other IDEs also seem to support properly.

  • funk443@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    So I can do terminal stuffs in Emacs, instead of having to open another terminal window

  • akirakom@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    If you are a web developer, you will notice that modern toolchains tend to assume interactive terminal. Most of them can be run in compilation-mode, but some do not function without interactivity. For example, you will probably need a terminal when scaffolding a project using a CLI.

  • artyhedgehog@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Fun thing is I’m currently using Emacs mostly for vterm, lol. I code in another app (works better on my current project), I’ve switched from org-mode to LogSeq (long story).

    Well, ok, also magit.

  • WallyMetropolis@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Being able to do emacs stuff in my terminal and terminal stuff in my emacs while sharing the same kill ring and other similar kinds of state.

  • 7890yuiop@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You mean “as opposed to using term.el” ?

    Performance, mostly. (I’m still using term myself, but suspect I’ll switch to eat at some point.)

    • BabySavesko@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I believe the EAT readme itself recommends vterm for particular use cases, like (if I recall correctly) needing an emulator that handles large volume of text streaming

      • noooit@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        If you have to compare with vterm, it doesn’t. Vterm has more features, faster and less buggy.

      • MitchellMarquez42@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        My weakest computer can fit twenty million lines of codes on it.

        I’d say if anything, the usefulness of eat would justify a lot more. Thankfully doing one thing well lends itself to brevity, and storage is cheap

  • rileyrgham@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I get your point. I messed with eshell for a while, then used vterm. In the end I just hard wired a swaywm key to a scratch terminal wihch toggles an alacritty instance. I can copy and paste in it fine : in short I find it easier to do “terminal shell things” in a “real terminal” but I can see why others prefer to stay inside emacs. Occasioanlly I’ll use a terminal inside emacs via projectile as its quick to open a terminal at your current project location.

  • krypt3c@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Terminals are helpful?

    It’s not clear what you’re interested in here. Why use a terminal in emacs as opposed to a separate program? Why these over eshell?..

      • Jak_from_Venice@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I have this funny anecdote.

        A remote system I was working on has a malfunction: taskbar dead; windows blocked; super-key did’t activate anything. I had just a Emacs window open.

        I ran eshell and then “shutdown -r now” and the system restarted.

        Great moment with surprised colleagues :-) it was 2020

  • Nawrbit@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    They are just another terminal emulator, not much else. So the point? Not much if you use emacs as just a text editor.

    If you are more intergrated into the emacs environment there are features that you may find useful such as directory tracking. Worth checking out their project pages to see if they make sense in your work flow.

  • Greenskid@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Use same keybinds as in other Emacs buffers to manipulate the text e.g. search, copy/paste, folding; matching theme; project context; etc.