In a regular terminal, I do
~ enter d
to disconnect from a ssh session.
sometimes I do ~ enter Ctl-z
to minimize/bg the ssh process
Is this possible while inside a M-x shell
buffer in emacs.
(I use -nw terminal mode)
In a regular terminal, I do
~ enter d
to disconnect from a ssh session.
sometimes I do ~ enter Ctl-z
to minimize/bg the ssh process
Is this possible while inside a M-x shell
buffer in emacs.
(I use -nw terminal mode)
In a regular terminal, I do
~ enter d
to disconnect from a ssh session.
It would be ~. for me, and that also works fine if I'd run ssh
from a M-x shell
buffer, with the exception that comint doesn't send the input to the process at all until RET is typed, so it needs to be:
~.RET
sometimes I do ~ enter Ctl-z
to minimize/bg the ssh process
~C-z here and this just needs a bit of quoted-insert
to prevent Emacs from capturing the C-z
, so the following works for me if I'd run ssh
from a M-x shell
buffer:
~C-qC-zRET
sh
, then typingexit
will terminate the session. – wvxvw Jun 13 '18 at 11:52Eshell has no job control, so you can not suspend or background the current process, or bring a background process into the foreground.
– Arkadiusz Drabczyk Jun 13 '18 at 20:59