help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remote tramp hangs


From: Raphaël Berbain
Subject: Re: remote tramp hangs
Date: Thu, 03 Dec 2009 10:35:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

* Michael Albinus:

>> 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?

Not that I know of, but then...

> 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"?

...prompt is '# ', so there's obviously something messing with it.

Ok, now going to track where that comes from.  Thanks for your help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]