From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: barry@python.org (Barry A. Warsaw) Newsgroups: gmane.emacs.bugs Subject: bug#28500: 25.3; shell mode starts echoing command Date: Mon, 18 Sep 2017 11:46:50 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505749700 8926 195.159.176.226 (18 Sep 2017 15:48:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 15:48:20 +0000 (UTC) To: 28500@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 18 17:48:16 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 1dtyHP-0001y3-1g for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 17:48:15 +0200 Original-Received: from localhost ([::1]:37415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtyHU-0001dB-Ku for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 11:48:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtyHH-0001au-4k for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 11:48:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtyHC-0001Do-SE for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 11:48:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dtyHC-0001Df-OU for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 11:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dtyHC-0004pj-IL for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 11:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: barry@python.org (Barry A. Warsaw) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Sep 2017 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28500 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150574963018511 (code B ref -1); Mon, 18 Sep 2017 15:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Sep 2017 15:47:10 +0000 Original-Received: from localhost ([127.0.0.1]:46646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtyGM-0004oV-FS for submit@debbugs.gnu.org; Mon, 18 Sep 2017 11:47:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtyGJ-0004ne-AV for submit@debbugs.gnu.org; Mon, 18 Sep 2017 11:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtyGD-0000OQ-1p for submit@debbugs.gnu.org; Mon, 18 Sep 2017 11:47:02 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dtyGC-0000Nx-UP for submit@debbugs.gnu.org; Mon, 18 Sep 2017 11:47:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtyGB-000104-Gk for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 11:47:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtyG8-0000HJ-8x for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 11:46:59 -0400 Original-Received: from mail.wooz.org ([216.15.33.194]:48490) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dtyG8-0000Ex-4d for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 11:46:56 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.wooz.org (Postfix) with ESMTP id B6F5D142A46 for ; Mon, 18 Sep 2017 11:46:53 -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 KWwkKnGFVh6z for ; Mon, 18 Sep 2017 11:46:53 -0400 (EDT) Original-Received: from resist.wooz.org (resist.wooz.org [192.168.11.57]) by mail.wooz.org (Postfix) with ESMTPS id 73BB81401B3 for ; Mon, 18 Sep 2017 11:46:53 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:137061 Archived-At: * M-x shell RET * Go to the shell and type `ls RET` * See the output of the `ls` but *not* the actual `ls` command * Enter an interpreter; two choices which reproduce the problem include `sqlite3` and `python3` Type `sqlite3` at the shell prompt * Type .exit at the sqlite3 prompt (notice that the `.exit` was echo'd before the shell prompt came back; the bug is now active * Type `ls RET` at the shell prompt. Notice that the `ls RET` was echoed before the ls output was printed. Note that using `python3` or even `python` at the prompt will also exhibit the bug. (To exit Python, just type ctrl-D). The only way I've found to "fix" the problem is to ctrl-D to exit the shell, then `M-x shell RET` to restart it in the same buffer. In GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29)) of 2017-09-14 built on resist.local Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/25.3/share/info/emacs --prefix=/usr/local/Cellar/emacs/25.3 --without-x --with-xml2 --without-dbus --without-gnutls --without-imagemagick --with-ns --disable-ns-self-contained' Configured features: JPEG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. The mark is not set now, so there is no region Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils shell pcomplete comint ansi-color ring time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 200070 5259) (symbols 48 19931 0) (miscs 40 59 194) (strings 32 16829 5243) (string-bytes 1 489691) (vectors 16 33562) (vector-slots 8 655967 4691) (floats 8 158 281) (intervals 56 252 16) (buffers 976 20))