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: Fri, 01 Jul 2011 06:56:56 +0200 Message-ID: <87pqlu61k7.fsf@gmail.com> References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> <87k4tockt9.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309498160 18566 80.91.229.12 (1 Jul 2011 05:29:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 05:29:20 +0000 (UTC) Cc: 5664@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 01 07:29:16 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcWHy-0001vU-KM for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jul 2011 07:29:14 +0200 Original-Received: from localhost ([::1]:33353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcWHx-0003NV-S0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jul 2011 01:29:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcVnt-00042D-I9 for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2011 00:58:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcVno-0002dJ-5T for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2011 00:58:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcVnn-0002d2-PF for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2011 00:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QcVnm-0005D4-FA; Fri, 01 Jul 2011 00:58:02 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.130949623019967 (code B ref 5664); Fri, 01 Jul 2011 04:58:02 +0000 Original-Received: (at 5664) by debbugs.gnu.org; 1 Jul 2011 04:57:10 +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 1QcVmv-0005Bz-QF for submit@debbugs.gnu.org; Fri, 01 Jul 2011 00:57:10 -0400 Original-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 Original-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= Original-Received: by 10.227.20.84 with SMTP id e20mr2461347wbb.28.1309496220635; Thu, 30 Jun 2011 21:57:00 -0700 (PDT) Original-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) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 01 Jul 2011 01:00:43 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 01 Jul 2011 00:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47679 Archived-At: 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