unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43302: password shows up in shell buffer (27.1)
@ 2020-09-10  0:40 Nicholas Drozd
  2020-09-10 12:26 ` Robert Pluim
  2021-01-27  6:20 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Nicholas Drozd @ 2020-09-10  0:40 UTC (permalink / raw)
  To: 43302

The password input starring in shell mode seems to have changed in 27
from 26 to become more lax. Here is a small shell script:

#+begin_src shell
echo "Password:"
read -sr password
#+end_src

In 26, it looks like this when I run it:

#+begin_quote
$ bash password.sh
Password:
$
#+end_quote

The password is input starred into the minibuffer, not in the shell
buffer itself.

In 27, it looks like this:

#+begin_src
$ bash password.sh
Password:
asdf
$
#+end_src

The password (=asdf=) gets input directly into the shell buffer, unstarred.

I have tried on both Linux and Mac.

This may be related to
https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-09/msg00028.html





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-13  7:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-10  0:40 bug#43302: password shows up in shell buffer (27.1) Nicholas Drozd
2020-09-10 12:26 ` Robert Pluim
2021-01-27  6:20 ` Lars Ingebrigtsen
2021-02-12 20:50   ` Nicholas Drozd
2021-02-13  7:23     ` Eli Zaretskii

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).