Why my emacs does not display shell's output?

Go To StackoverFlow.com

3

I use emacs23.4 on window xp. So the shell-mode use windows cmd.exe.

I encountered such a problem that If I use the commands which ask for user input(.e.g email, password), my emacs does not display the request.

I have commented out all configuration in .emacs.

The picture shows the result that I input "heroku login" in emacs and cmd.

The result that I input "heroku login" in emacs and cmd

2012-04-04 08:30
by coordinate
Know that you can start emacs with the -q option to load neither ~/.emacs nor default.el. This might be easier than commenting out your configuration - N.N. 2012-04-04 09:03
may be trying ansi-term instead of shell. (press C-m for RET in ansi-term - kindahero 2012-04-04 09:26
Thanks. N.N. and kindahero. I try to M-x ansi-term. But I got an error "Spawning child process: invalid argument" - coordinate 2012-04-04 11:07


3

This is a known issue with emacs on Windows: https://www.gnu.org/software/emacs/windows/Sub_002dprocesses.html#index-subprocesses_002c-hanging-when-reading-input-213

Unfortunately, there's no easy work around. You're best alternative is probably to provide your heroku credentials in a .netrc file to avoid being prompted.

2012-04-04 20:08
by ataylor
Ads