From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; tramp hangs on connect Date: Mon, 05 Nov 2007 15:05:57 +0100 Message-ID: References: <18219.34712.64674.74430@arit93.ariserve.dynup.net> <87k5ozshlj.fsf@gmx.de> <18221.6645.872631.540615@arit93.ariserve.dynup.net> <87zlxtn334.fsf@gmx.de> <18223.5604.831193.574962@arit93.ariserve.dynup.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194271553 691 80.91.229.12 (5 Nov 2007 14:05:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2007 14:05:53 +0000 (UTC) Cc: emacs-devel To: AriT93 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 05 15:05:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ip2aK-0000gr-Og for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 15:05:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip2aA-00013P-4f for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 09:05:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ip2a6-000137-QZ for emacs-devel@gnu.org; Mon, 05 Nov 2007 09:05:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ip2a5-00012m-B0 for emacs-devel@gnu.org; Mon, 05 Nov 2007 09:05:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip2a5-00012j-5R for emacs-devel@gnu.org; Mon, 05 Nov 2007 09:05:33 -0500 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ip2a4-0006vj-Fp for emacs-devel@gnu.org; Mon, 05 Nov 2007 09:05:32 -0500 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id lA5E5QhR023379; Mon, 5 Nov 2007 15:05:26 +0100 In-Reply-To: <18223.5604.831193.574962@arit93.ariserve.dynup.net> (arit93@yahoo.com's message of "Mon, 5 Nov 2007 07:08:52 -0600") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82574 Archived-At: AriT93 writes: Hi, > I ran tests on machine's both at work and home I put the results at: > http://www.ilstu.edu/~abturet/tramp_debugging/ Thanks a lot, that's instructive. Your shell prompt contains escape sequences, Tramp (with its recent patch) has problems with. Could you, please, apply the appended patch? It won't be the final patch, I just want to know whether I'm going into the right direction. Best regards, Michael. *** /home/albinus/src/tramp/lisp/tramp.el.~1~ Thu Nov 1 14:01:40 2007 --- /home/albinus/src/tramp/lisp/tramp.el Mon Nov 5 14:59:40 2007 *************** *** 6199,6205 **** (let ((found (tramp-wait-for-regexp proc timeout ! (format "^%s\r?$" (regexp-quote tramp-end-of-output))))) (if found (let (buffer-read-only) (goto-char (point-max)) --- 6199,6205 ---- (let ((found (tramp-wait-for-regexp proc timeout ! (format "^[^#$%>\n]*%s\r?$" (regexp-quote tramp-end-of-output))))) (if found (let (buffer-read-only) (goto-char (point-max))