tags 454554 + fixed-upstream thanks On 2007-12-06 08:17 +0100, Trent W. Buck wrote:
> As a result of http://bugs.debian.org/343268, sudo now uses a > grandiloquent prompt: > > [sudo] password for twb: > > This is not matched by M-x shell's password regexp, so the user is > suddenly faced with their passwords being echoed to the screen. > > Either #343268 should be reverted, or shell.el's regexp should be > extended to work around this madness. > > See function comint-watch-for-password-prompt and variable > comint-password-prompt-regexp. Thanks for the report, comint-password-prompt-regexp has been changed upstream after a Gutsy user reported this. The fix will be in Emacs 22.2, here is how you can set comint-password-prompt-regexp: (setq comint-password-prompt-regexp "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\ Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)\ \[Pp]assword\\( (again)\\)?\\|\ pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\ \\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'") Regards, Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]