From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Andreas Roehler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Mar 2010 08:17:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: 5664@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.126743139326234 (code B ref -1); Mon, 01 Mar 2010 08:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Mar 2010 08:16:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0np-0006p5-93 for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:33 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0nl-0006oy-Dq for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:31 -0500 Received: from mx10.gnu.org ([199.232.76.166]:33208) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0ni-0006r0-He for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:26 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nm0ne-0002p5-8c for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:36927) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nm0ne-0002p1-2i for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nm0nZ-0003qr-Ue for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:18 -0500 Received: from [140.186.70.92] (port=43168 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nm0nW-0003qP-D0 for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nm0nR-000122-Nm for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:14 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:52742) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0nQ-00011k-Sw for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:09 -0500 Received: from [192.168.178.27] (p54BE9318.dip0.t-ipconnect.de [84.190.147.24]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LgeLl-1NQv0C1rrJ-00oNH5; Mon, 01 Mar 2010 09:16:05 +0100 Message-ID: <4B8B784C.3080604@online.de> Date: Mon, 01 Mar 2010 09:18:20 +0100 From: Andreas Roehler User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18485iPQSJeeeM1XQ+KYsUlea01QSFsZok+Icr w66cfC8xyHkG00Jn6eQ1w9DmFUCfMnFVjNYGOKj2fVNdu6ICLJ zDJrA+Ca1DehfxL9aC+XAB+xKxDSKGIZrISIYKqBak= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.5 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Hi, may reproduce bug mentioned here: http://lists.gnu.org/archive/html/help-gnu-emacs/2010-02/msg00602.html With emacs-shell, emacs -q 1) when prompted for pw, it's shown afterwards at the screen 2) it's visible by view-lossage/recent-input replaced it below for this report by MY-PASSWORD-DISPLAYED-HERE In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 Windowing system distributor `The X.Org Foundation', version 11.0.70200000 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: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x s h e l l / b n b i n / s u MY-PASSWORD-DISPLAYED-HERE M-x r e p o r t - e m a c - s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug ansi-color shell comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 04 14:27:22 2010 Received: (at control) by debbugs.gnu.org; 4 Mar 2010 19:27:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnGhe-0004W9-GR for submit@debbugs.gnu.org; Thu, 04 Mar 2010 14:27:22 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnGhc-0004W3-VT for control@debbugs.gnu.org; Thu, 04 Mar 2010 14:27:21 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NnGGM-0005Ic-Oa; Thu, 04 Mar 2010 13:59:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19344.766.609527.736801@fencepost.gnu.org> Date: Thu, 4 Mar 2010 13:59:10 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: rs5z`x+wmD]Fug%R[9\%X4?8+5-_{y~xrLFmNb.yV!ie'g-asP]9?xud$1ETVR}cA-R,B? X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) reassign 5681 emacs,gnus merge 5647 5681 retitle 5679 terminus oblique fonts severity 5677 wishlist tags 5677 moreinfo severity 5673 minor retitle 5664 view-lossage may show passwords and sensitive information tags 5669 patch tags 5675 moreinfo From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Andreas Roehler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2010 20:03:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Chong Yidong Cc: 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679057257761 (code B ref 5664); Sat, 06 Mar 2010 20:03:01 +0000 Received: (at 5664) by debbugs.gnu.org; 6 Mar 2010 20:02:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No0CK-000218-6W for submit@debbugs.gnu.org; Sat, 06 Mar 2010 15:02:04 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No0CG-00020m-8n for 5664@debbugs.gnu.org; Sat, 06 Mar 2010 15:02:03 -0500 Received: from [192.168.178.27] (p54BEB51F.dip0.t-ipconnect.de [84.190.181.31]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0Mefts-1O3Sg51rVA-00OOQI; Sat, 06 Mar 2010 21:01:54 +0100 Message-ID: <4B92B542.2050505@online.de> Date: Sat, 06 Mar 2010 21:04:18 +0100 From: Andreas Roehler User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 References: <871vfxl2u1.fsf@stupidchicken.com> In-Reply-To: <871vfxl2u1.fsf@stupidchicken.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/OucaoI+qceWlM/dT6osuVFCt25jN8oI8rKas 8AoPdX4zr7eDh5Hi5/0kz+hvCOwcXI2KPGZz5Yb14R24AnqXLz mnoMiFkCiwQdGalWaEPF5rgY1YWOTaVGLwztdoJpp4= X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) Chong Yidong wrote: >> may reproduce bug mentioned here: >> >> http://lists.gnu.org/archive/html/help-gnu-emacs/2010-02/msg00602.html >> >> With emacs-shell, emacs -q >> >> 1) when prompted for pw, it's shown afterwards at the screen >> 2) it's visible by view-lossage/recent-input > > I can't reproduce this. Please provide an exact recipe; the one you > gave was far too imprecise. > Commands have been: emacs -q M-x shell /bin/su at shell prompt prompt for PW arrives, when PW putted in, its visible at the screen root-shell (bash) arrives M-x report-emacs-bug View lossage displays root-password, replaced for this report by MY-PW-SHOWN-HERE Thanks caring for the matter, Andreas ;;;;;;;;;; In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 Windowing system distributor `The X.Org Foundation', version 11.0.70200000 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: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x s h e l l / b i n / s u MY-PW-SHOWN-HERE M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug ansi-color shell comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2010 20:19:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Andreas Roehler Cc: 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679067368171 (code B ref 5664); Sat, 06 Mar 2010 20:19:01 +0000 Received: (at 5664) by debbugs.gnu.org; 6 Mar 2010 20:18:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No0Sd-00027k-WC for submit@debbugs.gnu.org; Sat, 06 Mar 2010 15:18:56 -0500 Received: from pantheon-po35.its.yale.edu ([130.132.50.83]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No0SY-00027e-OG for 5664@debbugs.gnu.org; Sat, 06 Mar 2010 15:18:54 -0500 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po35.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o26KIkYj032060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 6 Mar 2010 15:18:46 -0500 Received: by furry (Postfix, from userid 1000) id 0ACA156CC01; Sat, 6 Mar 2010 15:18:46 -0500 (EST) From: Chong Yidong References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> Date: Sat, 06 Mar 2010 15:18:44 -0500 In-Reply-To: <4B92B542.2050505@online.de> (Andreas Roehler's message of "Sat, 06 Mar 2010 21:04:18 +0100") Message-ID: <87d3zh9paz.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Andreas Roehler writes: > emacs -q > M-x shell > /bin/su at shell prompt > > prompt for PW arrives, when PW putted in, its visible at the screen > > root-shell (bash) arrives > > M-x report-emacs-bug > > View lossage displays root-password, replaced for this report by > MY-PW-SHOWN-HERE I'm afraid I can't reproduce this. One possibility is that you are using a locale where the password prompt is given in a language that comint-watch-for-password-prompt does not recognize. This is a known issue; customize comint-password-prompt-regexp to add the locale-dependent password prompt(s) to the list of recognized prompts. From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Andreas Roehler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2010 20:42:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Chong Yidong Cc: 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679081048713 (code B ref 5664); Sat, 06 Mar 2010 20:42:01 +0000 Received: (at 5664) by debbugs.gnu.org; 6 Mar 2010 20:41:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No0oi-0002GU-IB for submit@debbugs.gnu.org; Sat, 06 Mar 2010 15:41:44 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No0og-0002GO-Pf for 5664@debbugs.gnu.org; Sat, 06 Mar 2010 15:41:43 -0500 Received: from [192.168.178.27] (p54BEB4C7.dip0.t-ipconnect.de [84.190.180.199]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MSFeJ-1OGMUO13tL-00TWts; Sat, 06 Mar 2010 21:41:35 +0100 Message-ID: <4B92BE90.5080104@online.de> Date: Sat, 06 Mar 2010 21:44:00 +0100 From: Andreas Roehler User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> In-Reply-To: <87d3zh9paz.fsf@stupidchicken.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19+KYn4GICCtiLQ+d/3QVDbx/yR4bx7vzMH9cx qVySDsTlE3yJF6hihYL/ZMhE5hY8Vb63lWg8wM9Qyw1oGz9zAK z8DQ95faMj6sG+EqQ/JffcQgTCVx8ak+qqjczE3Rg8= X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Chong Yidong wrote: > Andreas Roehler writes: > >> emacs -q >> M-x shell >> /bin/su at shell prompt >> >> prompt for PW arrives, when PW putted in, its visible at the screen >> >> root-shell (bash) arrives >> >> M-x report-emacs-bug >> >> View lossage displays root-password, replaced for this report by >> MY-PW-SHOWN-HERE > > I'm afraid I can't reproduce this. One possibility is that you are > using a locale where the password prompt is given in a language that > comint-watch-for-password-prompt does not recognize. This is a known > issue; customize comint-password-prompt-regexp to add the > locale-dependent password prompt(s) to the list of recognized prompts. > Thanks, that helps here. However, think there is a bug though. If Emacs is able to display the prompt delivered, it should adapt its behavior independently from the regexp already customized. Unless some reasons contradict. Andreas From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2010 21:34:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Andreas Roehler Cc: Chong Yidong , 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679112039858 (code B ref 5664); Sat, 06 Mar 2010 21:34:02 +0000 Received: (at 5664) by debbugs.gnu.org; 6 Mar 2010 21:33:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No1cg-0002Yx-Tt for submit@debbugs.gnu.org; Sat, 06 Mar 2010 16:33:23 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No1cR-0002Yf-27 for 5664@debbugs.gnu.org; Sat, 06 Mar 2010 16:33:21 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAN5YkktLd+K+/2dsb2JhbACbSHSpMI0Ogm+CCQSDF4d0 X-IronPort-AV: E=Sophos;i="4.49,596,1262581200"; d="scan'208";a="57660408" Received: from 75-119-226-190.dsl.teksavvy.com (HELO pastel.home) ([75.119.226.190]) by ironport2-out.pppoe.ca with ESMTP; 06 Mar 2010 16:33:02 -0500 Received: by pastel.home (Postfix, from userid 20848) id 3F1FB8866; Sat, 6 Mar 2010 16:33:02 -0500 (EST) From: Stefan Monnier Message-ID: References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> Date: Sat, 06 Mar 2010 16:33:02 -0500 In-Reply-To: <4B92BE90.5080104@online.de> (Andreas Roehler's message of "Sat, 06 Mar 2010 21:44:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > However, think there is a bug though. If Emacs is able to display the > prompt delivered, it should adapt its behavior independently from the > regexp already customized. Emacs has no idea that the string it receives from the underlying process is a prompt for a password. All it knows is that the subprocess sent some text to display to the user. And then no more text comes in; and then the user types something so it's sent to the subprocess; ... this is exactly the same interaction as for any other text than a password. Maybe in some cases, the subprocess sets up the tty in a particular way while it's reading the password. I don't know enough about ttys to know if that could be used and if so how, but it might be worth looking into. Stefan From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Andreas Roehler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2010 21:49:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Stefan Monnier Cc: Chong Yidong , 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.126791209610301 (code B ref 5664); Sat, 06 Mar 2010 21:49:02 +0000 Received: (at 5664) by debbugs.gnu.org; 6 Mar 2010 21:48:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No1r6-0002g6-3R for submit@debbugs.gnu.org; Sat, 06 Mar 2010 16:48:16 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No1r3-0002g1-P0 for 5664@debbugs.gnu.org; Sat, 06 Mar 2010 16:48:14 -0500 Received: from [192.168.178.27] (p54BEA1D2.dip0.t-ipconnect.de [84.190.161.210]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MFOmu-1NtZlR0MvE-00ELiu; Sat, 06 Mar 2010 22:48:06 +0100 Message-ID: <4B92CE26.8040002@online.de> Date: Sat, 06 Mar 2010 22:50:30 +0100 From: Andreas Roehler User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18VVMm3Km3nhOM6wUrOfU2upsqg5nfBIruEq0i sBw4TVs/jKYTBOLtl8TtA0vKKkhqbdxpXYO2l9j8aIvJpDFBcO dBXx578prJWAOdEP92ZG9t2rQ4YxkNjTA9fh9EvXrk= X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Stefan Monnier wrote: >> However, think there is a bug though. If Emacs is able to display the >> prompt delivered, it should adapt its behavior independently from the >> regexp already customized. > > Emacs has no idea that the string it receives from the underlying > process is a prompt for a password. Hhm, the shell itself seems to know. So if the shell knows, Emacs questions the shell, it should be possible collect info from there. All it knows is that the subprocess > sent some text to display to the user. And then no more text comes > in; and then the user types something so it's sent to the subprocess; > ... this is exactly the same interaction as for any other text than > a password. > > Maybe in some cases, the subprocess sets up the tty in a particular way > while it's reading the password. I don't know enough about ttys to know > if that could be used and if so how, but it might be worth looking into. > > > Stefan > Thanks, would consider it useful, to leave the bug open for remembering. As the OP reported, risks exist, which are avoidable IMO. Andreas From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage In-Reply-To: <4B8B784C.3080604@online.de> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2010 13:45:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12679694712307 (code B ref -1); Sun, 07 Mar 2010 13:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Mar 2010 13:44:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoGmV-0000bA-33 for submit@debbugs.gnu.org; Sun, 07 Mar 2010 08:44:31 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoGmS-0000b5-O7 for submit@debbugs.gnu.org; Sun, 07 Mar 2010 08:44:29 -0500 Received: from mail.gnu.org ([199.232.76.166]:47099 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoGmN-0003RV-Mc for submit@debbugs.gnu.org; Sun, 07 Mar 2010 08:44:23 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NoGmJ-0004hd-Le for submit@debbugs.gnu.org; Sun, 07 Mar 2010 08:44:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:44832) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NoGmJ-0004hZ-GP for submit@debbugs.gnu.org; Sun, 07 Mar 2010 08:44:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoGmJ-0005FE-4n for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 08:44:19 -0500 Received: from [140.186.70.92] (port=52176 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoGmE-0005Cz-8O for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 08:44:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoGmD-00007q-8i for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 08:44:14 -0500 Received: from lo.gmane.org ([80.91.229.12]:40065) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoGmC-00007h-V1 for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 08:44:13 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NoGmA-0005wg-L6 for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 14:44:10 +0100 Received: from 68.77.197-77.rev.gaoland.net ([77.197.77.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Mar 2010 14:44:10 +0100 Received: from thierry.volpiatto by 68.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Mar 2010 14:44:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Thierry Volpiatto Date: Sun, 07 Mar 2010 14:39:46 +0100 Organization: ThierryVolpiatto Lines: 58 Message-ID: <87k4tockt9.fsf@tux.homenetwork> References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 68.77.197-77.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHBARgJRFPS0WbMBTC TSG/uJs0yyVHAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABpUlE QVQ4y3VTQXKDMAyUnD7AwvQOhtxj5N4LFh9ow/+/UtlpM0BczWSS0Wola7UBeEb3+3kJ/5p9ZLz3 UI0n0J0Y4K/lh1nG24FhlJOR2LdSKtpV5gfi/Zd+NdaJBbB4D5N0JnfUIVp6obZURkJwS2a8b9uX AkgxA5gCEcknAH1s2z0DPooWmjGKcJR+HNZt+9bm0GtGRycRuZGs98Ffr02vABWGopIAhmXmxnQN BwBXZjgFLHRoqbfeYxCLWqsjLyKhbEHW+A5nEs699Q2O80ALrgHTmUTy6P0MnKyKQpKHpoNWokxs F0D5VegvWmEozyE6nuMiS98mWzlUQ9bW8qYfqOaFtzWlYCqGeIs6HEyl08jkrxUG9MF5ipXpOOpd ZMoXPPVSLWJiiwNNB+eRSyxJZmQKcacikgucnCRiHuJOLmyYJRDPwOqAvY4pA+Wy+VS8G26BAsdb Ph2Hw7ORy/H0IOG0TnaM8Cp0XrFYyU0v2z8AqkifPVbLZ0qo/gsRg60C7p+8Ov9jrUIxFde+jnAq X42hyp/c+ZcnVyUYBarrqZt3+R8450png3cWKgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAwOC0wNS0z MVQyMjoxNDoyMiswMjowMK3VBDcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMDctMTAtMjhUMTc6MDg6 NDgrMDE6MDDLdIcLAAAAEXRFWHRqcGVnOmNvbG9yc3BhY2UAMix1VZ8AAAAgdEVYdGpwZWc6c2Ft cGxpbmctZmFjdG9yADJ4MiwxeDEsMXgxSfqmtAAAAABJRU5ErkJggg== Cancel-Lock: sha1:b7AJ6IE10CjtjPMoCGOvl0li4Is= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Andreas Roehler writes: > Chong Yidong wrote: >> Andreas Roehler writes: >> >>> emacs -q >>> M-x shell >>> /bin/su at shell prompt >>> >>> prompt for PW arrives, when PW putted in, its visible at the screen >>> >>> root-shell (bash) arrives >>> >>> M-x report-emacs-bug >>> >>> View lossage displays root-password, replaced for this report by >>> MY-PW-SHOWN-HERE >> >> I'm afraid I can't reproduce this. One possibility is that you are >> using a locale where the password prompt is given in a language that >> comint-watch-for-password-prompt does not recognize. This is a known >> issue; customize comint-password-prompt-regexp to add the >> locale-dependent password prompt(s) to the list of recognized prompts. >> > > Thanks, that helps here. > However, think there is a bug though. If Emacs is able to display the prompt delivered, > it should adapt its behavior independently from the regexp already customized. As Chong said you must use a non--english/us locale. I have the same problem here, my prompt is not "Password" but "Mot de Passe", due to my french locale. All the prompts for password (e.g su/sudo) in the emacs shell use a cryptic regex. Setting it is a pain, i always have undesired side effects trying to set them. (shell and eshell). For shell (don't work in eshell): A workaround for "su" is creating an alias in bashrc: alias su="LC_ALL=C su -l" For sudo: alias sudo="sudo -p Password: " For eshell i didn't find good solution appart putting in my .emacs: (setenv "LC_ALL" "C") Work fine but may create other encoding problems in others places. The best thing should be that all emacs shell don't obey to locale setting for password prompt, i thing the word "password" in international well known. -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/ From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2010 14:41:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Andreas Roehler Cc: Chong Yidong , 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679728483811 (code B ref 5664); Sun, 07 Mar 2010 14:41:01 +0000 Received: (at 5664) by debbugs.gnu.org; 7 Mar 2010 14:40:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoHex-0000zQ-Vj for submit@debbugs.gnu.org; Sun, 07 Mar 2010 09:40:48 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoHew-0000zJ-Pc for 5664@debbugs.gnu.org; Sun, 07 Mar 2010 09:40:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAEZKk0tLd+K+/2dsb2JhbACbQ3SqdIw3gm+CCQSDF4d0 X-IronPort-AV: E=Sophos;i="4.49,598,1262581200"; d="scan'208";a="57675846" Received: from 75-119-226-190.dsl.teksavvy.com (HELO pastel.home) ([75.119.226.190]) by ironport2-out.pppoe.ca with ESMTP; 07 Mar 2010 09:40:34 -0500 Received: by pastel.home (Postfix, from userid 20848) id D87158866; Sun, 7 Mar 2010 09:40:33 -0500 (EST) From: Stefan Monnier Message-ID: References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <4B92CE26.8040002@online.de> Date: Sun, 07 Mar 2010 09:40:33 -0500 In-Reply-To: <4B92CE26.8040002@online.de> (Andreas Roehler's message of "Sat, 06 Mar 2010 22:50:30 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) >> Emacs has no idea that the string it receives from the underlying >> process is a prompt for a password. > Hhm, the shell itself seems to know. No, the shell has no idea either. Stefan From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2010 15:17:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Stefan Monnier Cc: Chong Yidong , 5664@debbugs.gnu.org, thierry.volpiatto@gmail.com Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679749926708 (code B ref 5664); Sun, 07 Mar 2010 15:17:01 +0000 Received: (at 5664) by debbugs.gnu.org; 7 Mar 2010 15:16:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIDY-0001k9-3k for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:16:32 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIDV-0001k4-NI for 5664@debbugs.gnu.org; Sun, 07 Mar 2010 10:16:31 -0500 Received: from [192.168.178.27] (p54BEB30F.dip0.t-ipconnect.de [84.190.179.15]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0Lbh0d-1NPAkR0GpH-00l81e; Sun, 07 Mar 2010 16:16:21 +0100 Message-ID: <4B93C3D6.9080707@easy-emacs.de> Date: Sun, 07 Mar 2010 16:18:46 +0100 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <4B92CE26.8040002@online.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18LEO3/BmBM3IYV1CyxYY2m5TCZtQe8SZksToF 79FS48XqX5cWNhzV17wjw5RrysGU9vd/OryZZ6VboxiATKPNIY I8gdSlOQ4nPUXnFSLfXkgSqFCnV4EgcQLcXgM6rZ0A= X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier wrote: >>> Emacs has no idea that the string it receives from the underlying >>> process is a prompt for a password. >> Hhm, the shell itself seems to know. > > No, the shell has no idea either. > > > Stefan > > > > > So let me put it that way: If the shell grabs the pw-prompt from some place, set by `LC_ALL' or whatever, emacs may pick up it right there. Andreas From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2010 15:21:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Thierry Volpiatto Cc: Chong Yidong , 5664@debbugs.gnu.org, Stefan Monnier Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679752196808 (code B ref 5664); Sun, 07 Mar 2010 15:21:02 +0000 Received: (at 5664) by debbugs.gnu.org; 7 Mar 2010 15:20:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIHD-0001ll-Gf for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:20:19 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIHA-0001le-Tp for 5664@debbugs.gnu.org; Sun, 07 Mar 2010 10:20:17 -0500 Received: from [192.168.178.27] (p54BEB30F.dip0.t-ipconnect.de [84.190.179.15]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LZlbI-1NR63x3t7s-00lPKa; Sun, 07 Mar 2010 16:20:10 +0100 Message-ID: <4B93C4BC.1060006@easy-emacs.de> Date: Sun, 07 Mar 2010 16:22:36 +0100 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <87k4tockt9.fsf@tux.homenetwork> In-Reply-To: <87k4tockt9.fsf@tux.homenetwork> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX180f+ElFy0uP8m2ls8gCVudIzpMZrw3AYla/Ik 1/96pBNqr38qOM3BOKKfCHOxouzuczYJjewu4g4G+ys0i+NN1g I+TMfV15FpIJRCtoS8ydoWgFn64obOTY1fWHqkK1qw= X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Thierry Volpiatto wrote: > Andreas Roehler writes: > >> Chong Yidong wrote: >>> Andreas Roehler writes: >>> >>>> emacs -q >>>> M-x shell >>>> /bin/su at shell prompt >>>> >>>> prompt for PW arrives, when PW putted in, its visible at the screen >>>> >>>> root-shell (bash) arrives >>>> >>>> M-x report-emacs-bug >>>> >>>> View lossage displays root-password, replaced for this report by >>>> MY-PW-SHOWN-HERE >>> I'm afraid I can't reproduce this. One possibility is that you are >>> using a locale where the password prompt is given in a language that >>> comint-watch-for-password-prompt does not recognize. This is a known >>> issue; customize comint-password-prompt-regexp to add the >>> locale-dependent password prompt(s) to the list of recognized prompts. >>> >> Thanks, that helps here. >> However, think there is a bug though. If Emacs is able to display the prompt delivered, >> it should adapt its behavior independently from the regexp already customized. > > As Chong said you must use a non--english/us locale. > I have the same problem here, my prompt is not "Password" but "Mot de > Passe", due to my french locale. > All the prompts for password (e.g su/sudo) in the emacs shell use a > cryptic regex. > Setting it is a pain, i always have undesired side effects trying to set > them. (shell and eshell). > > For shell (don't work in eshell): > A workaround for "su" is creating an alias in bashrc: > > alias su="LC_ALL=C su -l" > > For sudo: > alias sudo="sudo -p Password: " > > For eshell i didn't find good solution appart putting in my .emacs: > > (setenv "LC_ALL" "C") > > Work fine but may create other encoding problems in others places. > > The best thing should be that all emacs shell don't obey to locale > setting for password prompt, i thing the word "password" in > international well known. > Hi, thanks, as long it's not solved at the source of the matter, I'd prefere the last. Better just one prompt than undergoing security-risks. Andreas From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2010 15:47:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: Andreas =?UTF-8?Q?R=C3=B6hler?= Cc: Chong Yidong , thierry.volpiatto@gmail.com, Stefan Monnier , 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679767737542 (code B ref 5664); Sun, 07 Mar 2010 15:47:02 +0000 Received: (at 5664) by debbugs.gnu.org; 7 Mar 2010 15:46:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIg4-0001xJ-QO for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:46:13 -0500 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIg2-0001xD-J5 for 5664@debbugs.gnu.org; Sun, 07 Mar 2010 10:45:59 -0500 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 71AC61C00646; Sun, 7 Mar 2010 16:45:52 +0100 (CET) Received: from localhost (dynscan2.mnet-online.de [192.168.6.166]) by mail.m-online.net (Postfix) with ESMTP id 45BCC90111; Sun, 7 Mar 2010 16:45:52 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.6.166]) (amavisd-new, port 10024) with ESMTP id MWUgzIpD9vqB; Sun, 7 Mar 2010 16:45:51 +0100 (CET) Received: from igel.home (DSL01.83.171.179.81.ip-pool.NEFkom.net [83.171.179.81]) by mail.mnet-online.de (Postfix) with ESMTP; Sun, 7 Mar 2010 16:45:51 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 529B3CA297; Sun, 7 Mar 2010 16:45:50 +0100 (CET) From: Andreas Schwab References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <4B92CE26.8040002@online.de> <4B93C3D6.9080707@easy-emacs.de> X-Yow: Somewhere in suburban Honolulu, an unemployed bellhop is whipping up a batch of illegal psilocybin chop suey!! Date: Sun, 07 Mar 2010 16:45:48 +0100 In-Reply-To: <4B93C3D6.9080707@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler"'s?= message of "Sun, 07 Mar 2010 16:18:46 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Andreas R=C3=B6hler writes: > If the shell grabs the pw-prompt from some place, The shell does not grab anything, it just executes commands. Andreas. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 14 05:29:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5664: 23.1.92; view-lossage In-Reply-To: <4B8B784C.3080604@online.de> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2010 15:58:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12679774507931 (code B ref -1); Sun, 07 Mar 2010 15:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Mar 2010 15:57:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIrB-00023s-OK for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:57:29 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIr9-00023n-Lr for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:57:28 -0500 Received: from mail.gnu.org ([199.232.76.166]:55410 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIr4-0007mZ-W2 for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:57:23 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NoIr2-0001J8-Vg for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:57:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:46712) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NoIr2-0001Iy-L4 for submit@debbugs.gnu.org; Sun, 07 Mar 2010 10:57:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoIr2-0001et-Ap for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 10:57:20 -0500 Received: from [140.186.70.92] (port=40442 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoIr1-0001eG-9n for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 10:57:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoIr0-0004kG-1r for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 10:57:19 -0500 Received: from lo.gmane.org ([80.91.229.12]:41387) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoIqz-0004kC-NV for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 10:57:18 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NoIqs-0002JK-Io for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 16:57:10 +0100 Received: from 68.77.197-77.rev.gaoland.net ([77.197.77.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Mar 2010 16:57:10 +0100 Received: from thierry.volpiatto by 68.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Mar 2010 16:57:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Thierry Volpiatto Date: Sun, 07 Mar 2010 16:52:24 +0100 Organization: ThierryVolpiatto Lines: 68 Message-ID: <87fx4cyvrb.fsf@tux.homenetwork> References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <87k4tockt9.fsf@tux.homenetwork> <4B93C4BC.1060006@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 68.77.197-77.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHBARgJRFPS0WbMBTC TSG/uJs0yyVHAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABpUlE QVQ4y3VTQXKDMAyUnD7AwvQOhtxj5N4LFh9ow/+/UtlpM0BczWSS0Wola7UBeEb3+3kJ/5p9ZLz3 UI0n0J0Y4K/lh1nG24FhlJOR2LdSKtpV5gfi/Zd+NdaJBbB4D5N0JnfUIVp6obZURkJwS2a8b9uX AkgxA5gCEcknAH1s2z0DPooWmjGKcJR+HNZt+9bm0GtGRycRuZGs98Ffr02vABWGopIAhmXmxnQN BwBXZjgFLHRoqbfeYxCLWqsjLyKhbEHW+A5nEs699Q2O80ALrgHTmUTy6P0MnKyKQpKHpoNWokxs F0D5VegvWmEozyE6nuMiS98mWzlUQ9bW8qYfqOaFtzWlYCqGeIs6HEyl08jkrxUG9MF5ipXpOOpd ZMoXPPVSLWJiiwNNB+eRSyxJZmQKcacikgucnCRiHuJOLmyYJRDPwOqAvY4pA+Wy+VS8G26BAsdb Ph2Hw7ORy/H0IOG0TnaM8Cp0XrFYyU0v2z8AqkifPVbLZ0qo/gsRg60C7p+8Ov9jrUIxFde+jnAq X42hyp/c+ZcnVyUYBarrqZt3+R8450png3cWKgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAwOC0wNS0z MVQyMjoxNDoyMiswMjowMK3VBDcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMDctMTAtMjhUMTc6MDg6 NDgrMDE6MDDLdIcLAAAAEXRFWHRqcGVnOmNvbG9yc3BhY2UAMix1VZ8AAAAgdEVYdGpwZWc6c2Ft cGxpbmctZmFjdG9yADJ4MiwxeDEsMXgxSfqmtAAAAABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) Cancel-Lock: sha1:KGN8octxBD4QCXlejK2ToWpDcP4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Andreas Röhler writes: > Thierry Volpiatto wrote: >> Andreas Roehler writes: >> >>> Chong Yidong wrote: >>>> Andreas Roehler writes: >>>> >>>>> emacs -q >>>>> M-x shell >>>>> /bin/su at shell prompt >>>>> >>>>> prompt for PW arrives, when PW putted in, its visible at the screen >>>>> >>>>> root-shell (bash) arrives >>>>> >>>>> M-x report-emacs-bug >>>>> >>>>> View lossage displays root-password, replaced for this report by >>>>> MY-PW-SHOWN-HERE >>>> I'm afraid I can't reproduce this. One possibility is that you are >>>> using a locale where the password prompt is given in a language that >>>> comint-watch-for-password-prompt does not recognize. This is a known >>>> issue; customize comint-password-prompt-regexp to add the >>>> locale-dependent password prompt(s) to the list of recognized prompts. >>>> >>> Thanks, that helps here. >>> However, think there is a bug though. If Emacs is able to display the prompt delivered, >>> it should adapt its behavior independently from the regexp already customized. >> >> As Chong said you must use a non--english/us locale. >> I have the same problem here, my prompt is not "Password" but "Mot de >> Passe", due to my french locale. >> All the prompts for password (e.g su/sudo) in the emacs shell use a >> cryptic regex. >> Setting it is a pain, i always have undesired side effects trying to set >> them. (shell and eshell). >> >> For shell (don't work in eshell): >> A workaround for "su" is creating an alias in bashrc: >> >> alias su="LC_ALL=C su -l" >> >> For sudo: >> alias sudo="sudo -p Password: " >> >> For eshell i didn't find good solution appart putting in my .emacs: >> >> (setenv "LC_ALL" "C") >> >> Work fine but may create other encoding problems in others places. >> >> The best thing should be that all emacs shell don't obey to locale >> setting for password prompt, i thing the word "password" in >> international well known. >> > > Hi, thanks, > > as long it's not solved at the source of the matter, I'd prefere the last. > Better just one prompt than undergoing security-risks. Agree. Also, since eshell su/sudo have changed recently i am unable to use an eshell alias for sudo (with -p option). -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/ From unknown Sat Jun 14 05:29:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2011 23:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5664 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thierry Volpiatto Cc: 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.130947486617517 (code B ref 5664); Thu, 30 Jun 2011 23:02:01 +0000 Received: (at 5664) by debbugs.gnu.org; 30 Jun 2011 23:01:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcQEL-0004YU-Pf for submit@debbugs.gnu.org; Thu, 30 Jun 2011 19:01:06 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcQEJ-0004Xw-TX for 5664@debbugs.gnu.org; Thu, 30 Jun 2011 19:01:05 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QcQE8-0005kN-3g; Fri, 01 Jul 2011 01:00:52 +0200 From: Lars Magne Ingebrigtsen In-Reply-To: <87k4tockt9.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Sun, 07 Mar 2010 14:39:46 +0100") Date: Fri, 01 Jul 2011 01:00:43 +0200 Message-ID: References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <87k4tockt9.fsf@tux.homenetwork> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEWNdhn//xv+/hn//xnl 3Br//xz//xr//x3//yCA5axkAAACY0lEQVQ4jWWUQW/bMAyFidR/gDPk7Bi42e6OMmFHzxF6dwtC Z82Idt4wQz4HBeqfvSc5Ttf2AU4cfXok7ZCiuEpkTF9z0ss8U/rhcI3C4uIYp3kRgHOjw5pAq2O+ OpJHnOS76Q0YtyN80Y1yS7LkkK2IQrwRIW8OZBanpFeSEr0Ch1JEMVdgEiXnAJxIpXrYcwjCW4RK 4GVCDoXAzCbowOEsV8cUIzlEYB8GrQew3mFxSgURSz80CKQhw8lyBSJV2eirQnotcVwc/KTNCoxX WEZ18ZGCKvWrvEo1qyiPZFJe7B2uhLcR71kJ6Z+11nuboh3qRXsL0Z7o7kBUHNriWNhXUdIOVwv4 AVANUNh3wBZUnA4tbe73b0F3JHvSBHCkAu4baHcoYJcjtunDIlfaQF1Le9sWbdHtM36gq+qWvp7a zW6z73YI0T4ULZwbVEP049TeIVNnu/re5icsbAYbS51urV2rSreEj/bU2b+dzU9e34A+2i+4189d cnR1V6dSEEofrP7+bLW+2O4+v2CuPqf20e/UVD2zw//xATiAXwkM78C2l57lE+nwPxn0WUb0MRyN N5ybARuMr7wRtOyIZvBoGa4GM8CIvvOyjMkf8hWXDZulg0zgZX7GDKpvT2HtONW73HDIEVRlBoAl kRrzpCKU8X257kd2XkYPIDAP3jSJDVhXN8DMpW/8AjBXafRcqqpiKc86jYGBo0KO6SWXqwAa7ddQ eLY8Hhfq+XfpdRWwv9TDWeI8pVPgglGD+j40oQ8meJeGcJrhiC4D1CPVGfP0MuXD57IcGRIVu4ha 15NkvvwDIKhFPovD7F0AAAAASUVORK5CYII= X-Now-Playing: Figurine's _Transportation + Communication = Love_: "You (Recorded Live In Berlin)" X-Hashcash: 1:23:110630:bug-gnu-emacs@gnu.org::9JoDd3PFIgShRIO/:00000000000000000000000000000000000000003uV1 X-Hashcash: 1:23:110630:thierry.volpiatto@gmail.com::O340xZ2DSe4snfDc:00000000000000000000000000000000003dwA X-Hashcash: 1:23:110630:5664@debbugs.gnu.org::Ljwl5Iug7ImFXhyK:0000000000000000000000000000000000000000056KM MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QcQE8-0005kN-3g X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1310079652.30031@EjlCeAvJ0WnmwuytT+/KaA X-Spam-Status: No X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) Thierry Volpiatto writes: > For eshell i didn't find good solution appart putting in my .emacs: > > (setenv "LC_ALL" "C") > > Work fine but may create other encoding problems in others places. > > The best thing should be that all emacs shell don't obey to locale > setting for password prompt, i thing the word "password" in > international well known. You mean setting LC_ALL to C for all subshells? I'm not sure that's what most people would want. But having the passwords show up in clear text in the shell buffers is totally icky, too. (I just fixed comint to do the password recognition for the [larsi@quimbies ~/src/emacs/trunk/lisp]$ ssh root@quimby Password: Response: case just now, though.) But for other locales: Perhaps Shell mode should have an interactive function like `M-x shell-query-password', so that people can trigger the non-echoing entry mode at will? Or perhaps a keystroke to switch off echoing, that would be ended when typing RET? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From unknown Sat Jun 14 05:29:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5664: 23.1.92; view-lossage Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2011 04:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5664 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Magne Ingebrigtsen Cc: 5664@debbugs.gnu.org Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.130949623019967 (code B ref 5664); Fri, 01 Jul 2011 04:58:02 +0000 Received: (at 5664) by debbugs.gnu.org; 1 Jul 2011 04:57:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcVmv-0005Bz-QF for submit@debbugs.gnu.org; Fri, 01 Jul 2011 00:57:10 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcVmu-0005Bo-78 for 5664@debbugs.gnu.org; Fri, 01 Jul 2011 00:57:08 -0400 Received: by wwf25 with SMTP id 25so2853706wwf.15 for <5664@debbugs.gnu.org>; Thu, 30 Jun 2011 21:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=R0Fs9Y5yG3lcAkkqMvBzUMvVqvBl+nAOKgjME8QfMRw=; b=tS6ErNqwcQ3kLSZ0h8/WS35VsvQF+mdToxWjb96ztOTGVtx05b19YBQKWcKtYSbhqS AatAgVB176ImWEJqYBz5ZPhcCGuuhzfpLIpKT0e/4A27TnMxDz/hKjhaayj2sVNyWF81 aaLdz67tLS/8rdSpA8spamcG5DgKSirlvIGXk= Received: by 10.227.20.84 with SMTP id e20mr2461347wbb.28.1309496220635; Thu, 30 Jun 2011 21:57:00 -0700 (PDT) Received: from thierry-MM061 (43.77.197.77.rev.sfr.net [77.197.77.43]) by mx.google.com with ESMTPS id n18sm2079869wbh.23.2011.06.30.21.56.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Jun 2011 21:56:59 -0700 (PDT) From: Thierry Volpiatto References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <87k4tockt9.fsf@tux.homenetwork> Date: Fri, 01 Jul 2011 06:56:56 +0200 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 01 Jul 2011 01:00:43 +0200") Message-ID: <87pqlu61k7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >> For eshell i didn't find good solution appart putting in my .emacs: >> >> (setenv "LC_ALL" "C") >> >> Work fine but may create other encoding problems in others places. >> >> The best thing should be that all emacs shell don't obey to locale >> setting for password prompt, i thing the word "password" in >> international well known. > > You mean setting LC_ALL to C for all subshells? I'm not sure that's > what most people would want. This have been fixed long time ago by using an alias in eshell for su/sudo. (don't use globally LC_ALL=C) alias su LC_ALL=C *su -l alias sudo *sudo -p Password: $* > But having the passwords show up in clear > text in the shell buffers is totally icky, too. (I just fixed comint to > do the password recognition for the Be careful when modifying the prompt regexp of shell/eshell: All go well in most cases, but can create bad bugs in other places like python shell. e.g in a python-shell: A = raw_input("prompt: ") Will ask you for password! > [larsi@quimbies ~/src/emacs/trunk/lisp]$ ssh root@quimby > Password: > Response: > > case just now, though.) > > But for other locales: Perhaps Shell mode should have an interactive > function like `M-x shell-query-password', so that people can trigger the > non-echoing entry mode at will? Or perhaps a keystroke to switch off > echoing, that would be ended when typing RET? -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From unknown Sat Jun 14 05:29:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Andreas Roehler Subject: bug#5664: closed (Re: bug#5664: 23.1.92; view-lossage) Message-ID: References: <87ha9085er.fsf@gmx.de> <4B8B784C.3080604@online.de> X-Gnu-PR-Message: they-closed 5664 X-Gnu-PR-Package: emacs Reply-To: 5664@debbugs.gnu.org Date: Sun, 19 Jan 2014 13:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1390138322-9569-1" This is a multi-part message in MIME format... ------------=_1390138322-9569-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #5664: view-lossage may show passwords and sensitive information which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 5664@debbugs.gnu.org. --=20 5664: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5664 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1390138322-9569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5664-done) by debbugs.gnu.org; 19 Jan 2014 13:31:19 +0000 Received: from localhost ([127.0.0.1]:56706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4sT8-0002T5-Ip for submit@debbugs.gnu.org; Sun, 19 Jan 2014 08:31:19 -0500 Received: from mout.gmx.net ([212.227.15.18]:61330) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4sT1-0002So-Ps for 5664-done@debbugs.gnu.org; Sun, 19 Jan 2014 08:31:16 -0500 Received: from detlef.gmx.de ([93.209.85.91]) by mail.gmx.com (mrgmx001) with ESMTPS (Nemesis) id 0LyVIk-1VIqM73JNm-015tFP for <5664-done@debbugs.gnu.org>; Sun, 19 Jan 2014 14:31:10 +0100 From: Michael Albinus To: Chong Yidong Subject: Re: bug#5664: 23.1.92; view-lossage References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> Date: Sun, 19 Jan 2014 14:31:08 +0100 In-Reply-To: <87d3zh9paz.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 06 Mar 2010 15:18:44 -0500") Message-ID: <87ha9085er.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:CP6x0tv1CiFdFNxg/GFDcGgrIoLuJXCFMa/8z3dBEaKp1WG71Wr YRfmjeb++TtOK/r1gvwoLX5PEAwoEIby2Fa+fpz22YqF7duj47fmtYljkzMlBOTOSIO6P6Z oTq0j6eLnbCL/SGeGDGOhbOeXPGU/9CWmCp0KI+ms/fP6zaDKrfdd/wkTH1ahgoFcfipqDO wTL9xzEdUE1jMRJelVBbg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 5664-done Cc: Andreas Roehler , 5664-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Chong Yidong writes: > Andreas Roehler writes: > >> emacs -q >> M-x shell >> /bin/su at shell prompt >> >> prompt for PW arrives, when PW putted in, its visible at the screen >> >> root-shell (bash) arrives >> >> M-x report-emacs-bug >> >> View lossage displays root-password, replaced for this report by >> MY-PW-SHOWN-HERE > > I'm afraid I can't reproduce this. One possibility is that you are > using a locale where the password prompt is given in a language that > comint-watch-for-password-prompt does not recognize. This is a known > issue; customize comint-password-prompt-regexp to add the > locale-dependent password prompt(s) to the list of recognized prompts. Due to bug#13124, Emacs knows now the password keyword for many languages. There is a new variable `password-word-equivalents'. In order to fix *this* bug, that variable is used in `eshell-password-prompt-regexp'. Closing the bug, but I'd appreciate if somebody with a localized password prompt checks it. Best regards, Michael. ------------=_1390138322-9569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Mar 2010 08:16:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0np-0006p5-93 for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:33 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0nl-0006oy-Dq for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:31 -0500 Received: from mx10.gnu.org ([199.232.76.166]:33208) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0ni-0006r0-He for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:26 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nm0ne-0002p5-8c for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:36927) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nm0ne-0002p1-2i for submit@debbugs.gnu.org; Mon, 01 Mar 2010 03:16:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nm0nZ-0003qr-Ue for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:18 -0500 Received: from [140.186.70.92] (port=43168 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nm0nW-0003qP-D0 for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nm0nR-000122-Nm for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:14 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:52742) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm0nQ-00011k-Sw for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 03:16:09 -0500 Received: from [192.168.178.27] (p54BE9318.dip0.t-ipconnect.de [84.190.147.24]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LgeLl-1NQv0C1rrJ-00oNH5; Mon, 01 Mar 2010 09:16:05 +0100 Message-ID: <4B8B784C.3080604@online.de> Date: Mon, 01 Mar 2010 09:18:20 +0100 From: Andreas Roehler User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.1.92; view-lossage Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18485iPQSJeeeM1XQ+KYsUlea01QSFsZok+Icr w66cfC8xyHkG00Jn6eQ1w9DmFUCfMnFVjNYGOKj2fVNdu6ICLJ zDJrA+Ca1DehfxL9aC+XAB+xKxDSKGIZrISIYKqBak= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Hi, may reproduce bug mentioned here: http://lists.gnu.org/archive/html/help-gnu-emacs/2010-02/msg00602.html With emacs-shell, emacs -q 1) when prompted for pw, it's shown afterwards at the screen 2) it's visible by view-lossage/recent-input replaced it below for this report by MY-PASSWORD-DISPLAYED-HERE In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 Windowing system distributor `The X.Org Foundation', version 11.0.70200000 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: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x s h e l l / b n b i n / s u MY-PASSWORD-DISPLAYED-HERE M-x r e p o r t - e m a c - s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug ansi-color shell comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) ------------=_1390138322-9569-1--