From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Barry Warsaw Newsgroups: gmane.emacs.bugs Subject: bug#28500: 25.3; shell mode starts echoing command Date: Mon, 18 Sep 2017 22:49:14 -0400 Message-ID: References: <20959.1505783153@alto> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5C1425AB-AE89-4201-AAF1-8E7C757FD35D"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Trace: blaine.gmane.org 1505789412 6695 195.159.176.226 (19 Sep 2017 02:50:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Sep 2017 02:50:12 +0000 (UTC) Cc: 28500@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 19 04:50:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du8bw-0001TQ-EW for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Sep 2017 04:50:08 +0200 Original-Received: from localhost ([::1]:39805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du8c2-0004nA-66 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 22:50:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du8bt-0004mg-I8 for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 22:50:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1du8bq-0000fJ-9w for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 22:50:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38419) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1du8bq-0000fC-5g for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 22:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1du8bp-0006WI-I9 for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 22:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Barry Warsaw Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Sep 2017 02:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28500 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28500-submit@debbugs.gnu.org id=B28500.150578936325013 (code B ref 28500); Tue, 19 Sep 2017 02:50:01 +0000 Original-Received: (at 28500) by debbugs.gnu.org; 19 Sep 2017 02:49:23 +0000 Original-Received: from localhost ([127.0.0.1]:47100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du8bC-0006VN-VV for submit@debbugs.gnu.org; Mon, 18 Sep 2017 22:49:23 -0400 Original-Received: from mail.wooz.org ([216.15.33.194]:56836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du8bA-0006V8-HQ for 28500@debbugs.gnu.org; Mon, 18 Sep 2017 22:49:21 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.wooz.org (Postfix) with ESMTP id 119801401EA; Mon, 18 Sep 2017 22:49:15 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mail.wooz.org Original-Received: from mail.wooz.org ([127.0.0.1]) by localhost (mail.wooz.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oYlI73lHRRog; Mon, 18 Sep 2017 22:49:14 -0400 (EDT) Original-Received: from resist.wooz.org (resist.wooz.org [192.168.11.57]) by mail.wooz.org (Postfix) with ESMTPSA id 8730A1401E7; Mon, 18 Sep 2017 22:49:14 -0400 (EDT) In-Reply-To: <20959.1505783153@alto> X-Mao-Original-Outgoing-Id: 527482154.049121-dd7c4fc3ade56ea085f6dc5b23a372ca X-Mailer: Apple Mail (2.3273) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137104 Archived-At: --Apple-Mail=_5C1425AB-AE89-4201-AAF1-8E7C757FD35D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Sep 18, 2017, at 21:05, Mike Kupfer = wrote: >=20 > I see the same issue after using openssl to encrypt or decrypt a file. > Just never got around to filing a bug report=E2=80=A6 Interesting. I=E2=80=99ve only noticed it in 25.2 and 25.3 on macOS = (installed from brew). I can=E2=80=99t 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=E2=80=99t figured out what the common denominator is, but I = edebug=E2=80=99d it down to comint-send-string and then = process-send-string. There the trail ended with C code and I haven=E2=80=99= t gdb=E2=80=99d into that. It seems like some state in = process-send-string gets confused and starts echoing the input. -Barry --Apple-Mail=_5C1425AB-AE89-4201-AAF1-8E7C757FD35D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhBcVftvnPZ6sHlObEm61Y6dLBr8FAlnAhaoACgkQEm61Y6dL Br+3hw//VdD1gueMpPmTDUxiX/6PBkjH8zmuuWAiSRbAFh23FZmH9ddAiQ8h2vdX Tz6yFWtTmHT9fgum1vEyRvSd2cdPjl/YtQw1J9/dEd0JDVxlIUgu7PobvF+ZCFhA FhQ5qdBIlSTl/PjgG0uqLXkREloW+4AA/csGX3gqbCe+++OoWfPWvmXFGFZaanqE TKOhvNPMxA/CXmzIn/iqTxkm1TsM/iIWsNKtaiS8lBWtUkgjk2J2Sn5qd7F0o2jy PSBPHjakhbt37KNvqeYJXVl422SRDtkbWYneVPqMrBos/Z6GuEvkFXqsq54Hu3qw Zc0nn7IVfFZ/f+wfSf6iiUudRr5B1kVnd9dC9tOjYq2xQsBHP3yPYVYWJjl9YkuK IRdOwyTAjRhrxproAqAqwAna3b1fX/mgSN399JO1BZuKvWTYPE1UpTuF+RGUS/pw Q84EhtArkpX+/7MUIOzfaeinzvyoSByDs/Gu1MSywHwNAgzcy55vVGqh7jpiohn5 VOh+Czi01UNfldQZWoZ3XyiNcum9I9htz5Fls/3MjQxJgDl5woFFBkcKsbcZJMX1 tOQp+fDYRaTE73izcQH0M6VmLXOACid7T0vN5dB7vw0UO7eAXX4dsEm0GeaPj3vm crAGghXsXA63KEX59sCtl8AWjP6hJk3jErc5OSwG80kb5Hr+FmI= =E5PE -----END PGP SIGNATURE----- --Apple-Mail=_5C1425AB-AE89-4201-AAF1-8E7C757FD35D--