bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25596: 25.1; Password not hidden


From: Glenn Morris
Subject: bug#25596: 25.1; Password not hidden
Date: Thu, 23 Feb 2017 17:00:51 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Rahul Martim Juliato wrote:

> emacs -Q -f shell
>
> inside of it:
> sudo ls
>
> And then shell asks me for the password not hiding it when I type.

Thanks. I see that in your initial report, you said the prompt was:

  [sudo] senha para eng:

> I already tried a "solution" i found on-line by adding this to my .emacs file:
>
> (add-hook 'comint-output-filter-functions
>         'comint-watch-for-password-prompt)

This is already done by default.

> And altough I'm using a brazillian portuguese system, sudo should
> recognize the portuguese word "senha" as a passwork equivalent, or at
> least recognize that the line asks for password with "[sudo]".

Emacs has the variable password-word-equivalents, which includes "senha"
by default.

The problem is that comint-password-prompt-regexp does not translate
"for" into other languages ("para" in this case).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]