unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* comint-password-prompt-regexp misses "Enter password:"
@ 2007-12-20 21:34 Tim Hesterberg
  0 siblings, 0 replies; only message in thread
From: Tim Hesterberg @ 2007-12-20 21:34 UTC (permalink / raw)
  To: bug-gnu-emacs

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-20 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-20 21:34 comint-password-prompt-regexp misses "Enter password:" Tim Hesterberg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).