bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comint-password-prompt-regexp misses "Enter password:"


From: Tim Hesterberg
Subject: comint-password-prompt-regexp misses "Enter password:"
Date: Thu, 20 Dec 2007 13:34:21 -0800

I'm using the (shell), and logging into a program (Perforce)
that has a login prompt:
Enter password:

When I enter the password it is shown visibly.

If I change the value of comint-password-prompt-regexp to include "Enter"
then the password is not shown.  I suggest that this be done for
future versions of emacs.

(setq comint-password-prompt-regexp "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login 
\\|Enter \\|Kerberos \\|CVS \\|UNIX \\| SMB \\|^\\)[Pp]assword\\( 
(again)\\)?\\|pass phrase\\|\\(Enter\\|Repeat\\|Bad\\) passphrase\\)\\(?:, try 
again\\)?\\(?: for [^:]+\\)?:\\s *\\'")

Thank you,
Tim Hesterberg

------------------------------------------

In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<return> <down-mouse-1> <mouse-movement> <mouse-1> 
<escape> x C-y <return>

Recent messages:
Loading d:/emacs/ess-5.3.5/lisp/ess-site.el (source)...done
Loading comint...done
Loading tex-mode...done
Loading tex-mode-rmh...done
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Mark set
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|Enter \\|Kerberos \\|CVS \\|UNIX \\| 
SMB \\|^\\)[Pp]assword\\( (again)\\)?\\|pass 
phrase\\|\\(Enter\\|Repeat\\|Bad\\) passphrase\\)\\(?:, try again\\)?\\(?: for 
[^:]+\\)?:\\s *\\'"
History item: 1
History item: 2
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]