Hello,
I had to work from Windows too and had the same setup as you do and encountered same error. The cause was the shell prompt which tramp didn't recognize.
My way to fix it was to set the tramp-terminal type to "dumb"

M-x customize-variable RET  tramp-terminal-type

and in the .bashrc file check for it and set the the prompt correctly along these lines

case "$TERM" in
"dumb")
    PS1="> "
    ;;
xterm*|rxvt*|eterm*|screen*)
    # PS1="my prompt > "
    ;;
*)
    PS1="> "
    ;;
esac

Other option is to customize the variable tramp-terminal-prompt-regexp but that caused me more headache.

wvi

On 08/04/2014 04:08 PM, Tobias Bora wrote:
Hello,

I usually use Emacs under Linux, but I need to configure Emacs on a Windows
machine. Everything work fine except the tramp connection: I would like to
connect to a linux computer by ssh, so I run:

/plink:user@ip:/

And then C-j (or enter, same problem), I'm prompted to give my password,
but after nothing happened, the following message is displayed until I
press C-g:
"Tramp: Waiting for prompts from the shell"

The same problem occurs on my two computers, do you know how I could solve
it ?

Thank you,

Tobias.



_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel


_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to