Questions tagged [shell]
Questions relating to commands for passing single command lines to shell sub-processes, running a shell interactively with input and output to an Emacs buffer, and for running a shell in a terminal emulator window.
305
questions
11
votes
1answer
1k views
Attach to running remote shell with eshell/TRAMP/dtach
I often use GNU Screen to keep remote sessions alive. Since I live in Emacs, I'd really like to be able to resume a running remote shell session from within Emacs.
GNU Screen implements all sorts of ...
8
votes
1answer
3k views
“terminal is not fully functional” over ssh in a *shell* buffer
I'm using the shell (M-x shell) to connect to a remote host via SSH. After launching some command line tools (mostly psql, the postgresql command line interface, but man would be the same for example),...
8
votes
3answers
1k views
Persistent environment for M-x compile
When I run M-x compile it spawns a new subshell to execute my compile command. As soon as the compile command returns, the shell process is killed. I can see why this would be desirable in most cases, ...
24
votes
3answers
5k views
How can I run an async process in the background without popping up a buffer?
I have defined some functions to run async background process using async-shell-command in my .emacs, but everytime I run the commands a new window (not frame) is created and the process' buffer is ...
27
votes
1answer
818 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?