Vinh Nguyen <[email protected]> writes:

> here is what i have in .emacs after applying the patch:
> (add-to-list 'load-path "~/Downloads/tramp/lisp")
> (require 'tramp)
> (setq tramp-default-method "ssh")
> (setcdr (assoc 'tramp-remote-sh (assoc "ssh" tramp-methods))
> '("/bin/bash"))
> (setq tramp-verbose 10)

[...]

> 15:54:24.187016 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' 
> PS1=\#\$\  PS2='' PS3='' /bin/bash

[...]

> 15:54:24.805981 tramp-accept-process-output (10) # 
> usern...@acer:~$ 

Tramp has started /bin/bash, and it has set the prompt to "#$ ". The
bash has loaded ~/.bashrc, where the prompt has been overwritten.

Tramp expects the set prompt. So it waits forever. A solution could be
to suppress prompt setting in ~/.bashrc, maybe depending on $TERM.

Best regards, Michael.

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

Reply via email to