All Questions
16 questions
0
votes
2
answers
121
views
After establishing a SSH connectia via eshell, "dumb" terminal can't run Emacs. Also vi does not work properly. How to solve this with Emacs?
After running eshell, I was trying to establish a SSH connection and do some changes on the server:
ssh [email protected]
The connection was successfully established (the real IP address was ...
0
votes
1
answer
59
views
A comparitive analysis of shell, eshell, and term: what are the similiraties? What are the differences between them? When to use each of them?
This question was previously answered in Unix Stack Exchange. It has not been answered here, in Emacs Stack Exchange. I believe new answers in a community fully dedicated to Emacs could go deeper. But ...
1
vote
1
answer
235
views
Why does `eshell` not create an active process In Emacs while `shell` and `term` do?
In Emacs, the features shell, term, and eshell are different commands used for similar goals.
When executed, shell and term create active processes in Emacs. I expected the same for eshell. However, ...
0
votes
0
answers
261
views
Send command to run in eshell, after compiled
So I've been mapping my M-x compile like this, according to c-mode-hook or c++-mode-hook:
(add-hook 'c++-mode-hook
(lambda ()
(set (make-local-variable 'compile-command)
...
0
votes
1
answer
175
views
How to show colours and clear when running React development server in eshell?
Here is how the usual Ubuntu terminal looks when you run the React development serving using npm start and make changes to your source:
Say the server was already running and you tried to do npm ...
3
votes
1
answer
496
views
How to launch term at startup in Emacs?
I need to have Emacs open a terminal at start-up automatically (in order to use Fish in the terminal and use Emacs to for example search the Fish output).
Normally I do this with 'M-x term'.
Is there ...
3
votes
2
answers
732
views
Running a command in term from eshell with arguments
Basically I want to run watch from eshell.
Simply running watch date (for example) doesn't work (only the first header line is displayed). Apparently I should run it with term or ansi-term but these ...
4
votes
1
answer
400
views
(How) can I emulate {eshell,comint}-output-filter-functions in term?
What I want to do from inside a term shell is have a function called when there is new output or a certain regexp (e.g. a prompt) appears in in a term's output. The callback function should then be ...
3
votes
1
answer
176
views
Saving raw ANSI escape codes in M-x shell, M-x eshell, or M-x term
Each of M-x shell, M-x eshell, and M-x term in Emacs lets me save the buffer to a text file. But the terminal colors are not saved. How do I save the raw ANSI escape sequences too?
1
vote
1
answer
559
views
utf-8 characters with eshell, eshell-visual-subcommands, and git
Using the configuration
(eval-after-load "em-term"
'(progn
(add-to-list 'eshell-visual-subcommands '("git" "diff" "help" "log" "show"))
(add-to-list 'eshell-visual-options '("git" "--help"...
5
votes
0
answers
830
views
FZF broken displaying in emacs terminal
I'm struggling to run fzf in emacs but cannot figure out whats my problem. When I run fzf - and start typing - text gets mess up, similar to this:
I tried run fzf in term, eshell, ansi-term, multi-...
0
votes
0
answers
247
views
Incorrect Line Spacing in (term-mode, ansi-term, eshell, shell) Output
The output of certain commands in multiple major modes (term-mode, ansi-term, shell, eshell) is incorrectly spaced (see images). This occurs for numerous commands and does not occur in other emulators ...
1
vote
1
answer
278
views
How to use Emacs to open an eshell from Terminal at a specific path
By default, if I invoke emacs from terminal by typing $ emacs C:\users a directory-like environment opens. Then if I do M-x eshell, an eshell environment opens at this path.
My question is how to ...
2
votes
1
answer
282
views
Is it possible to alias an internal command?
Since I discovered multi-term, I use it exclusively over term or eshell. But, I'm lazy and would prefer to be able to simply type term to activate multi-term. Is this possible?
28
votes
1
answer
1k
views
What are all the ways of launching a shell from inside emacs and what are their various properties?
I know of at least four possibilities:
eshell
term
ansi-term
shell
What's the complete list of tools built-in to emacs to launch a shell, and what benefits and drawbacks do they offer?
8
votes
1
answer
831
views
Proper TERM type for eshell
Is there a way to make eshell behave better? By default printenv TERM returns dumb. For example brew often complains about the terminal type and causes eshell to "jiggle" while the progress bar is ...