From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 24231-done@debbugs.gnu.org
Subject: bug#24231: 25.1.1: sudo displays password
Date: Wed, 17 Aug 2016 10:48:58 +0200 [thread overview]
Message-ID: <643b893c-6f71-f020-df3a-d30739e69599@easy-emacs.de> (raw)
In-Reply-To: <8760qz3kq9.fsf@gmx.de>
reopen 24231
Hallo Michael,
sorry continuing so late.
Checked with eshell, which hides the password, displaying just spots.
From there think it would be worth fixing it at Emacs-shell.
Looks like a solution is in esh-mode.el:
(defun eshell-send-invisible ()
"Read a string without echoing.
Best,
Andreas
On 17.08.2016 09:42, Michael Albinus wrote:
> Michael Albinus <michael.albinus@gmx.de> writes:
>
> Hi Andreas,
>>> Should it not be possible to suppress the plain echo in all cases
>>> following "sudo"?
>>> As the QT-shell does IIUC.
>> That's not Emacs' job. As shown by my examples, you might be able to
>> configure the sudo password prompt yourself. A simple
>>
>> (setenv "SUDO_PROMPT" "password: ")
>>
>> in your .emacs would suffice.
> I'm closing the bug, because it is not an Emacs error.
>
> Best regards, Michael.
next prev parent reply other threads:[~2016-08-17 8:48 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
2016-08-15 15:52 ` Michael Albinus
2016-08-17 7:42 ` Michael Albinus
2016-08-17 8:48 ` Andreas Röhler [this message]
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=643b893c-6f71-f020-df3a-d30739e69599@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=24231-done@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).