This used to work just until recently, no idea what happened maybe an updated version of something is causing the problem.
In the shell
buffer in Emacs, shell seems to stop working after SSH or launching R or Python. Say, if I launch R in shell buffer, R loads and when I enter any command and press Enter the cursor just moves to a new line, no command is sent. But the shell responds to C-c C-c
and cancels the command and returns the prompt. I've tried issuing comint-send-input
manually with M-x
but that didn't work either. I've also tried this with "bare" Emacs, launching it with the -Q
option, same.
For SSH, the problem occurs for bash
but not for zsh
.
I've just used zsh
to launch R and I get "^G" inserted at the end of the command after pressing Enter. I think that is the problem. No idea how that occurs, if hadn't tried zsh
with R never would have seen it as it doesn't print on screen with bash.
GNU Emacs 26.3 on Ubuntu 19.04
term
in Emacs. – A. Blizzard Feb 12 '20 at 15:51ssh localhost
? Whats the user shell (bash, tcsh, zsh, ...) on those servers, would it help to change that to another one? – jue Feb 12 '20 at 20:42bash
everywhere. Withlocalhost
I've triedzsh
andsh
and both worked fine. So I guess it'sbash
related problem. But on remote serversh
didn't worked, caused the same problem. Not sure this is the remote server problem, I think my Ubuntu got updated recently and something must have changed in my computer. I will try this from CentOS to CentOS tomorrow. – A. Blizzard Feb 12 '20 at 21:18shell
. The same problem. Although these two servers share the same user home directory. I guess this is not an Emacs problem. – A. Blizzard Feb 12 '20 at 21:38