emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3f069bd796b: Fix password prompt in Tramp


From: Michael Albinus
Subject: master 3f069bd796b: Fix password prompt in Tramp
Date: Mon, 30 Jan 2023 05:56:12 -0500 (EST)

branch: master
commit 3f069bd796b0024033640051b5f74ba9834985f8
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Fix password prompt in Tramp
    
    * lisp/net/tramp.el (tramp-password-prompt-regexp):
    Allow alternative trailing colons.  (Bug#61168)
---
 lisp/net/tramp.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 3871ee4dddd..21dbd40b1d2 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -642,7 +642,7 @@ This regexp must match both `tramp-initial-end-of-output' 
and
   (rx
    bol (* nonl)
    (group (regexp (regexp-opt password-word-equivalents)))
-   (* nonl) ":" (? "\^@") (* blank))
+   (* nonl) (any "::៖") (? "\^@") (* blank))
   "Regexp matching password-like prompts.
 The regexp should match at end of buffer.
 
@@ -652,7 +652,7 @@ usually more convenient to add new passphrases to that 
variable
 instead of altering this variable.
 
 The `sudo' program appears to insert a `^@' character into the prompt."
-  :version "24.4"
+  :version "29.1"
   :type 'regexp)
 
 (defcustom tramp-wrong-passwd-regexp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]