From owner-freebsd-ports@FreeBSD.ORG Wed Dec 7 12:33:16 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A095216A41F for ; Wed, 7 Dec 2005 12:33:16 +0000 (GMT) (envelope-from dom@happygiraffe.net) Received: from happygiraffe.net (happygiraffe.net [81.6.215.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 147A943D45 for ; Wed, 7 Dec 2005 12:33:16 +0000 (GMT) (envelope-from dom@happygiraffe.net) Received: from localhost (localhost.happygiraffe.net [127.0.0.1]) by happygiraffe.net (Postfix) with ESMTP id 186E0B9FE; Wed, 7 Dec 2005 12:33:11 +0000 (GMT) Received: from happygiraffe.net ([127.0.0.1]) by localhost (ppe.happygiraffe.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22325-03; Wed, 7 Dec 2005 12:33:10 +0000 (GMT) Received: by happygiraffe.net (Postfix, from userid 1001) id A4727B957; Wed, 7 Dec 2005 12:33:10 +0000 (GMT) Date: Wed, 7 Dec 2005 12:33:10 +0000 To: Rommel Martinez Message-ID: <20051207123310.GA22451@ppe.happygiraffe.net> References: <391934950512070034h425e06d4i23eb1bbf6b8b7218@mail.gmail.com> <20051207090001.GA15187@ppe.happygiraffe.net> <391934950512070352m73e3e6e4l7cac7080b9e5b714@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <391934950512070352m73e3e6e4l7cac7080b9e5b714@mail.gmail.com> User-Agent: Mutt/1.5.11 From: dom@happygiraffe.net (Dominic Mitchell) X-Virus-Scanned: amavisd-new at happygiraffe.net Cc: ports@freebsd.org Subject: Re: net/tramp X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 12:33:16 -0000 On Wed, Dec 07, 2005 at 07:52:41PM +0800, Rommel Martinez wrote: > On 12/7/05, Dominic Mitchell wrote: > > On Wed, Dec 07, 2005 at 04:34:17PM +0800, Rommel Martinez wrote: > > > I just would like to inform you, as advised at FreeNode #FreeBSD that > > > the port net/tramp doesn't work well as expected. > > > > > > If I open a file under Emacs, say /root@localhost:/some/file, This > > > gets displayed in the echo area for a 60 secs, temporarily causing > > > Emacs to hang: > > > > > > Waiting for 60s for local shell to come up... > > > > > > After around 60 seconds, a new window (Emacs window) pops up, with the > > > shell prompt in it, and Emacs displays this text in the echo area: > > > > > > Couldn't find local shell prompt /bin/sh > > > > Interesting. It appears to work fine here on emacs-21. What are the > > contents of the buffers *tramp/su root@localhost* and *Messages*? >=20 > *tramp/su root@localhost* contains: >=20 > $ >=20 >=20 > *Messages* contains: >=20 > tramp: Opening connection for root@localhost using su... > tramp: Waiting 60s for local shell to come up... > tramp: [[Regexp `\(^[^#$%> > ]*[#$%>] *\|^[^#$%> > ]*[#$%>] *\(=1B\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 60 secs]] > tramp: Couldn't find local shell prompt /bin/sh > byte-code: Couldn't find local shell prompt /bin/sh Perhaps you need to check that your root shell prompt is followed by a space? It sounds like it's su'ing ok, but not spotting the prompt afterwards. Perhaps it's worthwhile doing M-x customize RET tramp-debug-buffer RET so that you can see all the commands that are going on in the background. -Dom