Re: [EXT] Re: one-time password prompt

Michael Albinus <[email protected]> Mon, 23 Sep 2024 08:41:47 +0200
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Michael Albinus <[email protected]> writes:

Hi Trace,

> OK. Please evaluate in your *scratch* buffer, after Loading Tramp, the
> following form:
>
> (setq tramp-otp-password-prompt-regexp
>       (rx-to-string
>        `(: bol (* nonl)
> 	   (group (| "Verification code" "TACC Token Code"))
> 	   (* nonl) (any . ,tramp-compat-password-colon-equivalents) (* blank))))

I've just realized, that tramp-compat-password-colon-equivalents does
not exist in Tramp 2.6 / Emacs 29.3. Could you, pls, use instead

--8<---------------cut here---------------start------------->8---
(setq tramp-otp-password-prompt-regexp
      (rx bol (* nonl)
	  (group (| "Verification code" "TACC Token Code"))
	  (* nonl) (any "::៖") (* blank)))
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.