2022 Developer Survey is open! Take survey.

New answers tagged

1 vote
Accepted

A comparitive analysis of shell, eshell, and term: what are the similiraties? What are the differences between them? When to use each of them?

It’s not written out explicitly in this format in the Emacs manual, but you can get this information just by reading chapter 38.2 Interactive Subshell and chapter 38.8 Emacs Terminal Emulator of the ...
user avatar
  • 11.4k
4 votes
Accepted

Why does `eshell` not create an active process In Emacs while `shell` and `term` do?

As mentioned in the manual page on Processes, the term process refers to an OS process. Emacs runs in a process, but can invoke other external processes and manage them as subprocesses. When you run M-...
user avatar
  • 56
1 vote

How to enable terminal beeping?

pytest tells the terminal to beep by printing a BEL character, ascii 0x07. Emacs term looks for the same character and calls ding to ring the bell. The way ding works is by looking at the variable ...
user avatar
  • 11.4k
2 votes

Why does htop command does not work on *shell*?

@NickD and @amitp answers are the correct ones making a distinction between shell and term. As a side note, proced built-in command in Emacs is a good alternative for htop. But this point is unrelated ...
user avatar
1 vote
Accepted

Why does htop command does not work on *shell*?

M-x term is a terminal emulator. htop needs a terminal. M-x shell is only a shell, not a full terminal. Shell commands like ps will work but terminal commands like htop or vim will not. I agree that ...
user avatar
  • 2,126

Top 50 recent answers are included