From owner-freebsd-ports@FreeBSD.ORG Thu Dec 8 10:12:50 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 ED66916A420 for ; Thu, 8 Dec 2005 10:12:49 +0000 (GMT) (envelope-from ebzzry@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7379B43D7D for ; Thu, 8 Dec 2005 10:12:41 +0000 (GMT) (envelope-from ebzzry@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so619611wra for ; Thu, 08 Dec 2005 02:12:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MmwlMj2j30FYBYeEZIsqC+0OGV4gLYpQwJnEr973TOE1lE6XZ0KJNP16RrKQTSKDIxspHkIN+eDhTjhjWcGE+dGzZQb4V1gFuWGkT6Ncd5zJvvfu8IUtAL6EnVSbhvVMCrhW6VY88afuF/5HbRA2Kq6VUavRBAuUie1wy+xtzjE= Received: by 10.54.67.17 with SMTP id p17mr1054566wra; Thu, 08 Dec 2005 02:12:37 -0800 (PST) Received: by 10.54.102.7 with HTTP; Thu, 8 Dec 2005 02:12:37 -0800 (PST) Message-ID: <391934950512080212oc9ad9d3y27d18c77605d9b95@mail.gmail.com> Date: Thu, 8 Dec 2005 18:12:37 +0800 From: Rommel Martinez To: Dominic Mitchell In-Reply-To: <20051207123310.GA22451@ppe.happygiraffe.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <391934950512070034h425e06d4i23eb1bbf6b8b7218@mail.gmail.com> <20051207090001.GA15187@ppe.happygiraffe.net> <391934950512070352m73e3e6e4l7cac7080b9e5b714@mail.gmail.com> <20051207123310.GA22451@ppe.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: Thu, 08 Dec 2005 10:12:50 -0000 I did what you said (BTW, you can't do M-x customize RET tramp-debug-buffer RET because when you press the first RET, customize would load the top-level options. It would be M-x customize-variable RET tramp-debug-buffer RET). BTW, the *tramp/su root@localhost* buffer contained: 18:06:57 tramp-maybe-open-connection (3) # Opening connection for root@localhost using su... 18:06:57 tramp-maybe-open-connection (3) # Waiting 60s for local shell to come up... 18:07:57 tramp-wait-for-regexp (1) # [[Regexp `\(^[^#$%> ]*[#$%>] *\|^[^#$%> ]*[#$%>] *\(=1B\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 60 secs]] 18:07:57 tramp-file-name-handler (1) # Couldn't find local shell prompt /bi= n/sh -Mel On 12/7/05, Dominic Mitchell wrote: > 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 th= at > > > > 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*? > > > > *tramp/su root@localhost* contains: > > > > $ > > > > > > *Messages* contains: > > > > 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 >