From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: remote tramp hangs Date: Thu, 03 Dec 2009 21:58:28 +0100 Message-ID: <87ljhjai6j.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259873963 24948 80.91.229.12 (3 Dec 2009 20:59:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 20:59:23 +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 21:59:17 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 1NGIla-0003Ni-Ia for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 21:59:10 +0100 Original-Received: from localhost ([127.0.0.1]:47527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGIla-0004kR-FN for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 15:59:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGIlC-0004jP-Ao for help-gnu-emacs@gnu.org; Thu, 03 Dec 2009 15:58:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGIl8-0004fO-TM for help-gnu-emacs@gnu.org; Thu, 03 Dec 2009 15:58:46 -0500 Original-Received: from [199.232.76.173] (port=51265 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGIl8-0004fL-Qf for help-gnu-emacs@gnu.org; Thu, 03 Dec 2009 15:58:42 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:32785) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NGIl7-0002g4-Q7 for help-gnu-emacs@gnu.org; Thu, 03 Dec 2009 15:58:42 -0500 Original-Received: (qmail invoked by alias); 03 Dec 2009 20:58:33 -0000 Original-Received: from p57A21DFE.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.29.254] by mail.gmx.net (mp058) with SMTP; 03 Dec 2009 21:58:33 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19t6Hl5bDdtxKOBDqLxYUYVZ2sPRg/59MKNt2uS/L m6RQYT6PJIunVp In-Reply-To: (=?utf-8?Q?=22Rapha=C3=ABl?= Berbain"'s message of "Thu, 03 Dec 2009 12:22:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:70362 Archived-At: raphael.berbain@gmail.com (Rapha=C3=ABl Berbain) writes: > More on that: Host is openbsd 4.5, where sh actually is ksh. > http://www.openbsd.org/cgi-bin/man.cgi?query=3Dksh&apropos=3D0&sektion=3D= 0&manpath=3DOpenBSD+4.5&arch=3Di386&format=3Dhtml says: > > """The default prompt is `$ ' for non-root users, `# ' for root. If ksh > is invoked by root and PS1 does not contain a `#' character, the default > value will be used even if PS1 already exists in the environment.""" > > Curiously, "sh" man page doesn't say that... but sh still does it. > > Changing the PS1 sent by tramp to include '#' (i.e. "#$ ") works around > that shell behaviour. Thanks for the analysis! I'll fix it next week in Tramp (just leaving for some days). Best regards, Michael.