Public bug reported:

Binary package hint: emacs22

The password prompt in sudo changed between feisty and gutsy, but the
default comint-password-prompt-regexp has not changed to catch it, The
user can always type M-x send-invisible, but it would be nice if the
default install caught prompts from all the usual suspects.

Fix: in comint.el,
<pre>
(defcustom comint-password-prompt-regexp
   "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|Kerberos \\|CVS \\|UNIX \\| SMB 
\\|\\[sudo\\] \\|^\\)[Pp]assword\\( (again)\\)?\\|pass 
phrase\\|\\(Enter\\|Repeat\\|Bad\\) passphrase\\)\\(?:, try again\\)?\\(?: for 
[^:]+\\)?:\\s *\\'"
    "*Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."
  :type 'regexp
  :group 'comint)
</pre>

** Affects: emacs22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
comint-watch-for-password-prompt does not catch sudo prompt
https://bugs.launchpad.net/bugs/162890
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to