Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I shell into a remote server to run emacs using ssh. Ever since I started running emacs as a daemon I've been having problems using ansi-term, shell, and eshell.

I can run commands in eshell fine, but I can't switch back to another buffer or kill the eshell buffer. When I type these commands nothing happens.

When I run shell I can enter commands but everything shows up on the same line. If I have the screen split text from shell will run into my other window. Repeatedly pressing Enter causes my PS1 to be displayed on the same line, rather than a new line. I also cannot kill the shell buffer or exit emacs using Ctrl+x Ctrl+c. I have to type exit which kills my ssh session all together.

ansi-term is now the least useful as when I start it Emacs freezes. I can't enter any commands including killing emacs all together.

Has anyone had these problems before?

share|improve this question
how are you connecting - Putty, command-line ssh, something else? – MattDMo May 14 '13 at 21:30
ssh from iTerm2 – David May 14 '13 at 21:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.