unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 24231@debbugs.gnu.org
Subject: bug#24231: 25.1.1: sudo displays password
Date: Wed, 17 Aug 2016 11:18:15 +0200	[thread overview]
Message-ID: <87vayz21pk.fsf@gmx.de> (raw)
In-Reply-To: <643b893c-6f71-f020-df3a-d30739e69599@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Wed, 17 Aug 2016 10:48:58 +0200")

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> Hallo Michael,

Hi Andreas,

> sorry continuing so late.
>
> Checked with eshell, which hides the password, displaying just spots.

Eshell uses `eshell-password-prompt-regexp' for password watching, while
shell-mode uses `comint-password-prompt-regexp'. 

> From there think it would be worth fixing it at Emacs-shell.

I don't know whether it is applicable to use the more simple
`eshell-password-prompt-regexp' in shell-mode. I guess there is a reason
to use `comint-password-prompt-regexp' there.

Why do you oppose to the solution I've proposed, setting "SUDO_PROMPT"
in your .emacs?

> Best,
>
> Andreas

Best regards, Michael.





  reply	other threads:[~2016-08-17  9:18 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
2016-08-17  9:18               ` Michael Albinus [this message]
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=87vayz21pk.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=24231@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.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).