From: Michael Albinus <michael.albinus@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: remote tramp hangs
Date: Wed, 02 Dec 2009 22:33:41 +0100 [thread overview]
Message-ID: <878wdljc22.fsf@gmx.de> (raw)
In-Reply-To: <yzvfx7tjxk2.fsf@did75-11-82-231-40-223.fbx.proxad.net> ("Raphaël Berbain"'s message of "Wed, 02 Dec 2009 14:56:07 +0100")
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.
next prev parent reply other threads:[~2009-12-02 21:33 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 11:03 remote tramp hangs Raphaël Berbain
2009-12-01 18:16 ` Andreas Politz
2009-12-01 19:04 ` Peter Dyballa
2009-12-01 19:47 ` Harry Putnam
2009-12-01 20:12 ` Michael Albinus
[not found] ` <mailman.11972.1259694305.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:46 ` Raphaël Berbain
[not found] ` <mailman.11976.1259697012.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:54 ` Raphaël Berbain
[not found] ` <mailman.11977.1259698390.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:55 ` Raphaël Berbain
2009-12-02 9:23 ` Michael Albinus
[not found] ` <mailman.12019.1259745826.2239.help-gnu-emacs@gnu.org>
2009-12-02 9:56 ` Raphaël Berbain
2009-12-02 10:15 ` Tim X
2009-12-02 13:56 ` Raphaël Berbain
2009-12-02 13:01 ` Michael Albinus
2009-12-02 17:02 ` Andreas Politz
[not found] ` <mailman.12025.1259758918.2239.help-gnu-emacs@gnu.org>
2009-12-02 13:56 ` Raphaël Berbain
2009-12-02 21:33 ` Michael Albinus [this message]
[not found] ` <mailman.12053.1259789634.2239.help-gnu-emacs@gnu.org>
2009-12-03 9:35 ` Raphaël Berbain
2009-12-03 11:22 ` Raphaël Berbain
2009-12-03 20:58 ` Michael Albinus
[not found] ` <mailman.12120.1259873928.2239.help-gnu-emacs@gnu.org>
2009-12-03 22:50 ` Raphaël Berbain
2009-12-07 6:43 ` Michael Albinus
[not found] ` <mailman.12409.1260168197.2239.help-gnu-emacs@gnu.org>
2009-12-14 14:20 ` Raphaël Berbain
2009-12-15 6:27 ` Michael Albinus
[not found] ` <mailman.12991.1260858434.2239.help-gnu-emacs@gnu.org>
2009-12-15 8:14 ` Raphaël Berbain
2009-12-15 21:17 ` Michael Albinus
2009-12-02 22:03 ` notbob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878wdljc22.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).