From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raphael.berbain@gmail.com (=?utf-8?Q?Rapha=C3=ABl?= Berbain) Newsgroups: gmane.emacs.help Subject: Re: remote tramp hangs Date: Thu, 03 Dec 2009 10:35:28 +0100 Organization: Guest of ProXad - France Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1259837172 29882 80.91.229.12 (3 Dec 2009 10:46:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 10:46:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 11:46:05 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NG9CE-00081u-TE for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 11:46:03 +0100 Original-Received: from localhost ([127.0.0.1]:47846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG9CE-0007Bx-84 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 05:46:02 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp3-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:4iYfjknEoTqX9igvIYfFEmKMMGc= Original-Lines: 21 Original-NNTP-Posting-Date: 03 Dec 2009 10:47:45 MET Original-NNTP-Posting-Host: 82.231.40.223 Original-X-Trace: 1259833665 news-2.free.fr 29991 82.231.40.223:56338 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:175277 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70352 Archived-At: * 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.