From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 24231@debbugs.gnu.org
Subject: bug#24231: 25.1.1: sudo displays password
Date: Mon, 15 Aug 2016 17:43:39 +0200 [thread overview]
Message-ID: <9e9792f7-20fd-d37f-1d6c-e14e6a85544a@easy-emacs.de> (raw)
In-Reply-To: <87mvke2jt2.fsf@gmx.de>
On 15.08.2016 16:22, Michael Albinus wrote:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
> Hi Andreas,
>
>> Screenshot and complete output of M-x report-emacs-bug RET sent off-list.
> Arrived :-)
>
> Your problem is your German locale. The screenshot shows the following
> password prompt:
>
> [sudo] Passwort für user: xyz-and-blah
>
> And you have the locale setting LANGUAGE=de_DE. The word "Passwort" is
> not a problem, it is part of password-word-equivalents. But the German
> word "für" does not match comint-password-prompt-regexp, you'll see (at
> the end of this regexp) that it only accepts the non-localized "for".
>
> You can test yourself in the shell buffer, for example with one of
>
> detlef:~> env LANGUAGE=en_US sudo -i
>
> detlef:~> env SUDO_PROMPT="password: " sudo -i
>
> detlef:~> sudo -p "password: " -i
>
> All shall work as expected. Maybe one could try to add the localized
> version of "for" in comint-password-prompt-regexp, but I have no idea
> how to extract this from the system wide password prompt without trying
> sudo.
>
> Best regards, Michael.
Thanks!
Should it not be possible to suppress the plain echo in all cases
following "sudo"?
As the QT-shell does IIUC.
next prev parent reply other threads:[~2016-08-15 15:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-15 9:27 bug#24231: 25.1.1: sudo displays password Andreas Röhler
2016-08-15 10:53 ` Michael Albinus
2016-08-15 12:20 ` Andreas Röhler
2016-08-15 14:22 ` Michael Albinus
2016-08-15 15:43 ` Andreas Röhler [this message]
2016-08-15 15:52 ` Michael Albinus
2016-08-17 7:42 ` Michael Albinus
2016-08-17 8:48 ` Andreas Röhler
2016-08-17 9:18 ` Michael Albinus
2016-08-17 10:07 ` Andreas Röhler
2016-08-17 10:08 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e9792f7-20fd-d37f-1d6c-e14e6a85544a@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=24231@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).