unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Barry Warsaw <barry@python.org>
To: Mike Kupfer <mkupfer@alum.berkeley.edu>
Cc: 28500@debbugs.gnu.org
Subject: bug#28500: 25.3; shell mode starts echoing command
Date: Mon, 18 Sep 2017 22:49:14 -0400	[thread overview]
Message-ID: <F8C419CB-F24B-44A7-AB49-F9AB3F998957@python.org> (raw)
In-Reply-To: <20959.1505783153@alto>

[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]

On Sep 18, 2017, at 21:05, Mike Kupfer <mkupfer@alum.berkeley.edu> wrote:
> 
> I see the same issue after using openssl to encrypt or decrypt a file.
> Just never got around to filing a bug report…

Interesting.  I’ve only noticed it in 25.2 and 25.3 on macOS (installed from brew).  I can’t reproduce it in 25.2 on Ubuntu 17.10.

> alto$ openssl aes-256-cbc -in foo.txt -out foo.text.enc
> enter aes-256-cbc encryption password:
> Verifying - enter aes-256-cbc encryption password:
> alto$ ls
> ls
> deb9-upgrade.log  foo.text.enc	ieee-cs-election-receipt.pdf
> enchant.dummy*	  foo.txt	net-neutrality-comments.pdf
> alto$ echo $SHELL
> echo $SHELL
> /bin/bash
> alto$

This is reproducible for me too on macOS.

I can also reproduce it by running the Mailman 3 shell from git checkout.  That made me think it could be readline related, but I built a Mailman 3 without readline support and it made no difference.  I haven’t figured out what the common denominator is, but I edebug’d it down to comint-send-string and then process-send-string.  There the trail ended with C code and I haven’t gdb’d into that.  It seems like some state in process-send-string gets confused and starts echoing the input.

-Barry


[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-09-19  2:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-18 15:46 bug#28500: 25.3; shell mode starts echoing command Barry A. Warsaw
2017-09-19  0:45 ` Glenn Morris
2017-09-19  0:54 ` Nick Helm
2017-09-19  1:05 ` Mike Kupfer
2017-09-19  2:49   ` Barry Warsaw [this message]
2017-09-19  7:34   ` Andreas Schwab
2017-09-19 13:20     ` Barry Warsaw
2017-09-19 13:36       ` Andreas Schwab
2017-09-19 14:49         ` Barry Warsaw
2017-09-20  0:19         ` Barry Warsaw
2017-09-20  6:12           ` Eli Zaretskii
2017-09-20 13:39             ` Barry Warsaw
2017-09-20 13:49               ` Eli Zaretskii

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=F8C419CB-F24B-44A7-AB49-F9AB3F998957@python.org \
    --to=barry@python.org \
    --cc=28500@debbugs.gnu.org \
    --cc=mkupfer@alum.berkeley.edu \
    /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).