aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel N. Weber II1999-05-07 05:26:44 +0000
committerJoel N. Weber II1999-05-07 05:26:44 +0000
commit9cc68f101e583296a1377b2f9c45bcc0795a538a (patch)
treef36112de83a072c681d1f2a80e6c7fe0870e9cc6
parentb20bb856de18f3fdd93effd191180c5a39051a70 (diff)
downloademacs-9cc68f101e583296a1377b2f9c45bcc0795a538a.tar.gz
emacs-9cc68f101e583296a1377b2f9c45bcc0795a538a.zip
(comint-password-prompt-regexp): Modified so that it matches the
output of kinit.
-rw-r--r--lisp/comint.el5
1 files changed, 3 insertions, 2 deletions
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 @@
1;;; comint.el --- general command interpreter in a window stuff 1;;; comint.el --- general command interpreter in a window stuff
2 2
3;; Copyright (C) 1988, 90, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. 3;; Copyright (C) 1988, 90, 92, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
4 4
5;; Author: Olin Shivers <shivers@cs.cmu.edu> then 5;; Author: Olin Shivers <shivers@cs.cmu.edu> then
6;; Simon Marshall <simon@gnu.ai.mit.edu> 6;; Simon Marshall <simon@gnu.ai.mit.edu>
@@ -278,8 +278,9 @@ This variable is buffer-local."
278 :group 'comint) 278 :group 'comint)
279 279
280;; AIX puts the name of the person being su'd to in front of the prompt. 280;; AIX puts the name of the person being su'd to in front of the prompt.
281;; kinit prints a prompt like `Password for devnull@GNU.ORG: '.
281(defcustom comint-password-prompt-regexp 282(defcustom comint-password-prompt-regexp
282 "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\):\\s *\\'" 283 "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\).*:\\s *\\'"
283 "*Regexp matching prompts for passwords in the inferior process. 284 "*Regexp matching prompts for passwords in the inferior process.
284This is used by `comint-watch-for-password-prompt'." 285This is used by `comint-watch-for-password-prompt'."
285 :type 'regexp 286 :type 'regexp