From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#14808: 24.3; Tramp hangs on unmatched prompt pattern Date: Wed, 10 Jul 2013 17:01:50 +0200 Message-ID: <87wqoyo3vl.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373468636 13270 80.91.229.3 (10 Jul 2013 15:03:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jul 2013 15:03:56 +0000 (UTC) Cc: 14808@debbugs.gnu.org To: Chris Thompson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 10 17:03:56 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uwvvq-0005nF-Hr for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2013 17:03:50 +0200 Original-Received: from localhost ([::1]:41739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwvvq-0007FB-4M for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2013 11:03:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwvv6-000683-IJ for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:03:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uwvv5-0005bh-GI for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:03:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwvv5-0005bd-D6 for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uwvv4-0005yb-R9 for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:03:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jul 2013 15:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14808 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14808-submit@debbugs.gnu.org id=B14808.137346853822917 (code B ref 14808); Wed, 10 Jul 2013 15:03:02 +0000 Original-Received: (at 14808) by debbugs.gnu.org; 10 Jul 2013 15:02:18 +0000 Original-Received: from localhost ([127.0.0.1]:45381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwvuK-0005xY-Vs for submit@debbugs.gnu.org; Wed, 10 Jul 2013 11:02:17 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:52429) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwvuF-0005xF-Au for 14808@debbugs.gnu.org; Wed, 10 Jul 2013 11:02:12 -0400 Original-Received: from detlef.gmx.de ([93.202.49.246]) by mail.gmx.com (mrgmx001) with ESMTPS (Nemesis) id 0MRGTX-1Ul0Rn189f-00UaIO; Wed, 10 Jul 2013 17:02:04 +0200 In-Reply-To: (Chris Thompson's message of "Sat, 06 Jul 2013 17:10:24 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:D4GacrYeT6uo9tqy0jg58If23/jyL59Q7hxN4tHxeWtMQWpeKbu Fa4HU+BBC/3fwJItUOOcVyNwRm3ixrFFz8msq7b8B6AdcU6Ovxz8nVKfPfp7QW/GOlgaohL IPPBP37zz1ut/nO+HyRzH7zaOZsy8W7yUWT+kdQryXWmJmBBLIfDI7//W1dnEoa1Z0WEUbz TO2EywEkpo1a7UdOQXHvg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76186 Archived-At: Chris Thompson writes: > Feature: warn when the root prompt does not match tramp-prompt-pattern I have committed a patch to the Tramp and Emacs repositories, which should improve the messages. You could test it. > Given an account on a remote server with the same name > And a password-less login to that account > And a /root/.bashrc has PS1 set to "\W:" > When I open a file "/sudo:/etc/passwd" > Then I should see a warning 'timeout after 5 seconds, prompt not > recognized: "/etc:"' The timeouts used by Tramp are unique for all different connection methods (60 seconds). I will change it for the different methods; a timeout for sudo could be much smaller. Keeping this report open until this is fixed. > Thanks! > -- > Chris Best regards, Michael.