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
termin Emacs.ssh localhost? Whats the user shell (bash, tcsh, zsh, ...) on those servers, would it help to change that to another one?basheverywhere. WithlocalhostI've triedzshandshand both worked fine. So I guess it'sbashrelated problem. But on remote servershdidn'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.shell. The same problem. Although these two servers share the same user home directory. I guess this is not an Emacs problem.