unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Chris Thompson <teaforthecat@gmail.com>
Cc: 14808@debbugs.gnu.org
Subject: bug#14808: 24.3; Tramp hangs on unmatched prompt pattern
Date: Wed, 10 Jul 2013 17:01:50 +0200	[thread overview]
Message-ID: <87wqoyo3vl.fsf@gmx.de> (raw)
In-Reply-To: <m2sizruypb.fsf@teaforthecat.local.i-did-not-set--mail-host-address--so-tickle-me> (Chris Thompson's message of "Sat, 06 Jul 2013 17:10:24 -0500")

Chris Thompson <teaforthecat@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.





  parent reply	other threads:[~2013-07-10 15:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-06 22:10 bug#14808: 24.3; Tramp hangs on unmatched prompt pattern Chris Thompson
2013-07-09 13:50 ` Michael Albinus
2013-07-10 15:01 ` Michael Albinus [this message]
2013-07-11 10:01   ` Michael Albinus
     [not found]     ` <CAOP1k=-xDLrSbx380Gw98GsXb_7z-=sVrXtJVaKKxabKixNe-w@mail.gmail.com>
     [not found]       ` <CAOP1k=_QKxCxuPTAtYQK1zkeBSQEWA5nYd+y35hGZeNphoUGXw@mail.gmail.com>
2013-07-15 12:15         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wqoyo3vl.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=14808@debbugs.gnu.org \
    --cc=teaforthecat@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).