From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Hesterberg Newsgroups: gmane.emacs.bugs Subject: comint-password-prompt-regexp misses "Enter password:" Date: Thu, 20 Dec 2007 13:34:21 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1198186492 10529 80.91.229.12 (20 Dec 2007 21:34:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2007 21:34:52 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 20 22:35:03 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J5T2g-0003MH-3t for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2007 22:34:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5T2M-0004iI-Dp for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2007 16:34:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J5T2G-0004g7-V3 for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2007 16:34:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J5T2G-0004eH-5p for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2007 16:34:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5T2F-0004e7-VA for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2007 16:34:32 -0500 Original-Received: from sewinexch00.insightful.com ([70.98.76.55]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5T2F-0003Uv-Hj for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2007 16:34:31 -0500 Original-Received: from THESTERBERG-XP.insightful.com ([172.16.102.54]) by sewinexch00.insightful.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 20 Dec 2007 13:34:18 -0800 X-OriginalArrivalTime: 20 Dec 2007 21:34:18.0944 (UTC) FILETIME=[13D83400:01C84350] X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17200 Archived-At: 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: x C-y 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