[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remote tramp hangs
From: |
Michael Albinus |
Subject: |
Re: remote tramp hangs |
Date: |
Wed, 02 Dec 2009 22:33:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
raphael.berbain@gmail.com (Raphaël Berbain) writes:
> Ah, finding it through google groups shows that the post got truncated
> where the backtrace included a null character. My newsreader shows it
> in full, so I guess my news server has a full copy; the ^@ may have
> messed up article propagation or something. I did try to sanitize the
> backtrace -- what's the correct way to gather & post a backtrace
> safely?
MIME attachment.
> Either way, here is the output:
>
> 11:52:52.741698 tramp-maybe-open-connection (6) # /bin/sh
> 11:52:52.746067 tramp-wait-for-regexp (6) #
> $
Tramp opens a local shell, the prompt is "$ ". OK.
> 11:52:52.749397 tramp-send-command (6) # ssh harry -l root -q -e none &&
> exit || exit
> 11:52:54.725933 tramp-process-actions (6) #
> #
Tramp applies the ssh command to the remote host. The prompt is "# ". That
is OK; tramp-shell-prompt-pattern covers this.
> 11:52:54.727166 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND=''
> PS1=\$\ PS2='' PS3='' /bin/sh
> 11:52:55.883214 tramp-accept-process-output (10) #
> exec env ENV='' PROMPT_COMMAND='' PS1=\$\ PS2='' PS3='' /bin/sh
> #
Tramp starts /bin/sh on the remote host, and expects "$ " as prompt (see
PS1). But the prompt is still "# ". That is NOT OK.
Is there something in the .profile of root, which overrides the PS1 settings?
What happens, if you manually apply "ssh harry -l root -q -e none" and
then, afterwards, "exec env ENV='' PROMPT_COMMAND='' PS1=\$\ PS2='' PS3=''
/bin/sh"?
Best regards, Michael.
- Re: remote tramp hangs, (continued)
- Message not available
- Message not available
- Re: remote tramp hangs, Raphaël Berbain, 2009/12/02
- Re: remote tramp hangs,
Michael Albinus <=
- Message not available
- Re: remote tramp hangs, Raphaël Berbain, 2009/12/03
- Re: remote tramp hangs, Raphaël Berbain, 2009/12/03
- Re: remote tramp hangs, Michael Albinus, 2009/12/03
- Message not available
- Re: remote tramp hangs, Raphaël Berbain, 2009/12/04
- Re: remote tramp hangs, Michael Albinus, 2009/12/07
- Message not available
- Re: remote tramp hangs, Raphaël Berbain, 2009/12/14
- Re: remote tramp hangs, Michael Albinus, 2009/12/15
- Message not available
- Re: remote tramp hangs, Raphaël Berbain, 2009/12/15
- Re: remote tramp hangs, Michael Albinus, 2009/12/15
Message not available