GNU bug report logs - #14808
24.3; Tramp hangs on unmatched prompt pattern

Previous Next

Package: emacs;

Reported by: Chris Thompson <teaforthecat <at> gmail.com>

Date: Sat, 6 Jul 2013 22:14:01 UTC

Severity: normal

Found in version 24.3

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Chris Thompson <teaforthecat <at> gmail.com>
Cc: 14808 <at> debbugs.gnu.org
Subject: bug#14808: 24.3; Tramp hangs on unmatched prompt pattern
Date: Wed, 10 Jul 2013 17:01:50 +0200
Chris Thompson <teaforthecat <at> gmail.com> 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.




This bug report was last modified 12 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.