From: Joel N. Weber II Date: Fri, 7 May 1999 05:26:44 +0000 (+0000) Subject: (comint-password-prompt-regexp): Modified so that it matches the X-Git-Tag: emacs-20.4~251 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9cc68f101e583296a1377b2f9c45bcc0795a538a;p=emacs.git (comint-password-prompt-regexp): Modified so that it matches the output of kinit. --- diff --git a/lisp/comint.el b/lisp/comint.el index 16ef53abeeb..e56cb259283 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -1,6 +1,6 @@ ;;; comint.el --- general command interpreter in a window stuff -;; Copyright (C) 1988, 90, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. +;; Copyright (C) 1988, 90, 92, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc. ;; Author: Olin Shivers then ;; Simon Marshall @@ -278,8 +278,9 @@ This variable is buffer-local." :group 'comint) ;; AIX puts the name of the person being su'd to in front of the prompt. +;; kinit prints a prompt like `Password for devnull@GNU.ORG: '. (defcustom comint-password-prompt-regexp - "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\):\\s *\\'" + "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\).*:\\s *\\'" "*Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :type 'regexp