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.