[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: default remote shell in tramp
From: |
Michael Albinus |
Subject: |
Re: default remote shell in tramp |
Date: |
Wed, 21 Jul 2010 17:11:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Vinh Nguyen <address@hidden> 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) #
> address@hidden:~$
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.
- Re: default remote shell in tramp, Michael Albinus, 2010/07/12
- Re: default remote shell in tramp, Vinh Nguyen, 2010/07/19
- Re: default remote shell in tramp, Michael Albinus, 2010/07/20
- Re: default remote shell in tramp, Vinh Nguyen, 2010/07/20
- Re: default remote shell in tramp,
Michael Albinus <=
- Re: default remote shell in tramp, Vinh Nguyen, 2010/07/22
- Re: default remote shell in tramp, Michael Albinus, 2010/07/23
- Re: default remote shell in tramp, Vinh Nguyen, 2010/07/25
- Re: default remote shell in tramp, Michael Albinus, 2010/07/26
- Re: default remote shell in tramp, Vinh Nguyen, 2010/07/26
- Re: default remote shell in tramp, Michael Albinus, 2010/07/26