From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: misbehavior in shell window with ksh Date: Mon, 01 May 2017 12:59:21 +0200 Message-ID: <87pofszvue.fsf@rosalinde> References: <12812.1493593946@alto> <83o9vdjcl6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493636418 27303 195.159.176.226 (1 May 2017 11:00:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 May 2017 11:00:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Mike Kupfer To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 01 13:00:12 2017 Return-path: Envelope-to: ged-emacs-devel@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 1d593o-0006sz-KW for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 13:00:08 +0200 Original-Received: from localhost ([::1]:53671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d593r-00020K-4v for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 07:00:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d593E-0001zU-KJ for emacs-devel@gnu.org; Mon, 01 May 2017 06:59:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d593D-0007UP-Rf for emacs-devel@gnu.org; Mon, 01 May 2017 06:59:32 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:56328) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5938-0007SA-7s; Mon, 01 May 2017 06:59:26 -0400 Original-Received: from rosalinde ([83.135.15.84]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Mb7lL-1dOCIb21xD-00KjmP; Mon, 01 May 2017 12:59:22 +0200 X-Provags-ID: V03:K0:XfZ5Z/dETuNRgo8IIZVnkcQk+csCF7tPrSs13Cbc+0QmcUqerP0 hQWMRbOraYKvFJbW9F6gGvg+6g0nqMa1DgFf5IbphqV1XXfgf7oHeS+76YWVCJ/9ONJQ2+c V6eZXPwDDOVV9PgsiAdwHvFccqR/DWt9YkCIs6KfAU2RoF5O6nM+/e6YdvU/pz82gRv1sgx wbjfCq9YXfNzBIY2N67lw== X-UI-Out-Filterresults: notjunk:1;V01:K0:MUV6J2DAp4U=:Wxj7stYI2871Z4pS/59+GC TCta0n03SszDGTT/uLi5+k6RbmCgkbFpfoqq7sj43O/npouwNoNKqLqFrbIXn/rj8f4KheLPI 52j6PRrLlDR0UEC7PINi+Vc9nvbfpRRFJSlgTzZR+QUyvIeIiqbV327Ir/dxUjL3vW/5aZO4S 0smAEJct0FnEl+nabyyC1z5k0Dnzf318slDhoUnRMRMNgAA+Q34f2h7eJtKuNLxOaq9WEtU+v Dc3b0bMbaQC4RhXmvEZ6HfvOrqC4HkDGkrgSVF3BjQGXWCB18VG69JzTFU2nsz6KvHNJHuBiW SppUnjrahCQloKYh7y2wxNo9NKwft7Jz5g6YmmTNnQvIgWzuDEOe5L1OqyI3JdnACqSNCAKYH 7AFuEY9bHTce0xvfWlY8c7bL/tidWI/K8sEvwbfT4hQI4nF638uFz9fWe78+CWjanctjuNOQh sNfdZT97CxyykNFENF/4bGLqoAmOYAYKglLZcluZk14icIOcCI/R3iOL3OCh10lVetqTaJURQ oat5BnSETZT0nKA2Y1Ktl/jcp/Z/P6di9gLj784drg51JiblQa2LdDeWeLw5+YujgRdGx42N3 y0dnFwi3OoxXY5hWgiwgFKnALKBmthnRDBbHofINi19ssPevQXh9d0OKwJWwFK7EzYOz1qoz7 JPaRP+CglTbPizjzohjNtqyrdwxkDtLfEc4sUqM38i1yp46IeF2OlCUv88b2/Sz5kudbjPM/x R7wV7d/u32DUrgpO0jE2o1cJDR00mTmQoUNc4cHX3dB5IWuFVtHZDKWuMNDoU/3wY72QsU3g X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214474 Archived-At: On Mon, 01 May 2017 09:49:41 +0300 Eli Zaretskii wrote: >> From: Mike Kupfer >> Date: Sun, 30 Apr 2017 16:12:26 -0700 >> >> >From emacs -Q, using Emacs master 6fa9cc05, if I do the following steps >> >> M-x shell RET >> ksh RET >> C-x o RET >> C-x 0 RET >> >> a ">" appears after the shell prompt in the *shell* buffer: >> >> alto$ ksh >> alto$ > >> >> If I then press RET, I get >> >> alto$ ksh >> alto$ > >> : not found [No such file or directory] >> alto$ > > I cannot reproduce this, neither with Emacs 25.2 nor with the latest > master branch. > > Does this happen in a -nw session as well, or only in GUI frames? I can reproduce this with both -Q and -Q -nw in latest master (details below). I also noticed that (any?) non-self-insertion keyboard events reproduce the behavior, e.g. `t TAB' adds anoth `>' at the prompt, and then `C-g' to kill the *Completions* buffer adds another `>', and then RET returns: ^L^Lt: not found [No such file or directory] (Then ^L are really control characters.) In GNU Emacs 26.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.20.10) of 2017-05-01 built on rosalinde Repository revision: 6c9ec085e2b36e801c967bc0635671dc1880cb80 Repository revision: edc63bf94f3cd3f52fab86fe7b92a3ec6a19de40 Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: openSUSE Leap 42.2 Configured using: 'configure --with-xwidgets 'CFLAGS=-Og -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix