From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 5664@debbugs.gnu.org
Subject: bug#5664: 23.1.92; view-lossage
Date: Fri, 01 Jul 2011 06:56:56 +0200 [thread overview]
Message-ID: <87pqlu61k7.fsf@gmail.com> (raw)
In-Reply-To: <m34o36kjqc.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Fri, 01 Jul 2011 01:00:43 +0200")
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Thierry Volpiatto <thierry.volpiatto@gmail.com> 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
next prev parent reply other threads:[~2011-07-01 4:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <871vfxl2u1.fsf@stupidchicken.com>
2010-03-06 20:04 ` bug#5664: 23.1.92; view-lossage Andreas Roehler
2010-03-06 20:18 ` Chong Yidong
2010-03-06 20:44 ` Andreas Roehler
2010-03-01 8:18 ` Andreas Roehler
2010-03-07 13:39 ` Thierry Volpiatto
2010-03-07 15:22 ` Andreas Röhler
2011-06-30 23:00 ` Lars Magne Ingebrigtsen
2011-07-01 4:56 ` Thierry Volpiatto [this message]
2010-03-07 15:52 ` Thierry Volpiatto
2010-03-06 21:33 ` Stefan Monnier
2010-03-06 21:50 ` Andreas Roehler
2010-03-07 14:40 ` Stefan Monnier
2010-03-07 15:18 ` Andreas Röhler
2010-03-07 15:45 ` Andreas Schwab
2014-01-19 13:31 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqlu61k7.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=5664@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.