From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#5664: 23.1.92; view-lossage Date: Sun, 07 Mar 2010 16:52:24 +0100 Organization: ThierryVolpiatto 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1267979073 1084 80.91.229.12 (7 Mar 2010 16:24:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Mar 2010 16:24:33 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 07 17:24:25 2010 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.69) (envelope-from ) id 1NoJHD-0005kV-Pm for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Mar 2010 17:24:24 +0100 Original-Received: from localhost ([127.0.0.1]:54372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoJHD-0000Nw-7R for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Mar 2010 11:24:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoJH8-0000NU-S6 for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 11:24:18 -0500 Original-Received: from [140.186.70.92] (port=43563 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoJH7-0000Ml-T3 for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 11:24:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoJH7-0006t4-7y for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 11:24:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34503) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoJH7-0006sz-6E for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 11:24:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NoIrh-000249-R5; Sun, 07 Mar 2010 10:58:01 -0500 X-Loop: bug-gnu-emacs@gnu.org 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: Original-Received: via spool by submit@debbugs.gnu.org id=B.12679774507931 (code B ref -1); Sun, 07 Mar 2010 15:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Mar 2010 15:57:30 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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/ Original-Lines: 68 Original-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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 07 Mar 2010 10:58:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:35476 Archived-At: 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/