From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: LdBeth Newsgroups: gmane.emacs.bugs Subject: bug#59150: 28.1; Comint shell silently send ^L Date: Wed, 09 Nov 2022 10:26:53 -0600 Message-ID: Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9436"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.1 (x86_64-apple-darwin21.4.0) MULE/6.0 (HANACHIRUSATO) To: 59150@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 09 17:43:27 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1osoAg-0002Gi-KP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Nov 2022 17:43:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osoAQ-0002FI-Ji; Wed, 09 Nov 2022 11:43:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osoAL-0002EW-R8 for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:43:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osoAI-0007j3-Kq for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:43:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1osoAI-0001wT-CJ for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: LdBeth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Nov 2022 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59150 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16680121767450 (code B ref -1); Wed, 09 Nov 2022 16:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2022 16:42:56 +0000 Original-Received: from localhost ([127.0.0.1]:40698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osoAA-0001w5-Sr for submit@debbugs.gnu.org; Wed, 09 Nov 2022 11:42:56 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osoA2-0001vp-KI for submit@debbugs.gnu.org; Wed, 09 Nov 2022 11:42:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osoA2-00023t-Ev for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:42:46 -0500 Original-Received: from out162-62-57-64.mail.qq.com ([162.62.57.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oso9u-0007WP-5V for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:42:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1668012141; bh=d+6+7Lx7uVqmMwtRT5h+aPFa/0B2POV6sVtgeHiVZqM=; h=Date:From:To:Subject; b=dd9zQfND/O5cU4MjrrEpTB/V5IW0/g5N0ekhrjKWhHZ1ftpliWBBKZ8PvAAvW4nMH 752q/Gohp1gx3R6Cz+hGkmKcSynCEHlpdfXe3HaZyF3j7arWVv3grM9bsRbAJTbG+o W56wRCX+/xRaB/dNij1dTSW9VTNBgdUG3Kf6QWZ8= Original-Received: from Costume-Party.local ([131.204.254.86]) by newxmesmtplogicsvrsza10-0.qq.com (NewEsmtp) with SMTP id 6B784641; Thu, 10 Nov 2022 00:26:55 +0800 X-QQ-mid: xmsmtpt1668011215t8l5knxcj X-QQ-XMAILINFO: NpCdqwxiXRk8YEee2aDtwjhRdyvED0UQx52l5jG7uuY4do8mvaoyAYhZ1ay6Zb nXCsMqUPiWiLJXSzxt7F5/THiXLIfRXTYYbd0m3QcjnvnmseAmSqLSHr/BppR88xGEF4azHkc3se rpQ34Lh4l1WVZ5Cnz37BXP79ZAGue7xpYS1Xa1Kk1lXY6cUUxttWMhktR1vH7sQvMM/ZET+dJoRO 8eyBXKoyr0/kUAhrb9ykhP6sLKw3NHkrBin1JmTWjvdxwLFgpd2tTiT5uNh816if7Knxwcs8HP5n ZYQ3d0ALvQr9LSIt2f5O3gyxo8ehP9tJ1KtiMA7QlFta7Uj0sy/ZmcRMaiE8yS7aSIpXp5e5sl28 JOF2hMy/DV++L9iuyQseiSTtek31a5hbgY6njWayS0UXvnKuJCQ+rD0H/BPS5ehsBVECU9/25XW6 h8EgmVAu9HHeZXprQ9hAUURuB0oAeyPNeCJtn4OX2OGL/trtz3HtjqVfOmvT87Gi2sDv3mMH6+QH DCoy0P8NlpV4aO+7zjKmm60tbt0Qye2+tgRO3HdktlNsOKNJo3ZCYxUEFu0Xz6qyChnB6etmMHI+ I4t7Qlg72Ahxzqp3WsPRycFkZ5CzQpvH77UsuQYEomHEk6AyBf6jAz91xRqYx0SOXl6XZoyaTT/B 6Iy6lSbaGOEiHTr1yjyjyNi17DexzZ28I+vvwTCG4hkMHAvvh1m+6GcAHvDfh+fxomACbqwcqJF9 QD873lU8pS8JSWB0qR1YRSAlQdhxQKaZ1QmF3qTiNBTnNqf4FqHSAdUUYJdNun3OZpisU9uDmEYq WfOrLDak/V4L430dhVTmtKgwpHbaF/hHX5BlTUv5 Original-Received: by Costume-Party.local (Postfix, from userid 501) id 44343204C5455E; Wed, 9 Nov 2022 10:26:53 -0600 (CST) X-OQ-MSGID: X-Face: %[!P\u/BKFRGn_9h9|yO"ho?C0ej^LmM}WMb-`Jfj8OsS^^AKmHYGlD@^|7SEA3UzOGPFbB"OFczY?'\JtJ\lR'@&Y5j; s8{$&|3D>^i.U4l2h?1qpD.+{[$~j]vBeHZf^|BGyL8{/`4 X-Attribution: ldb Received-SPF: pass client-ip=162.62.57.64; envelope-from=andpuke@foxmail.com; helo=out162-62-57-64.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RDNS_DYNAMIC=0.982, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247441 Archived-At: To produce this bug, set login shell to ksh93u+ (which is the default ksh on macOS and available on some package managers), I'm not sure if other versions of ksh can reproduce this. However I believe this might also affect all other command line programs that does not translate Control L as "refresh" command. Also I have only tried the Emacs GUI on macOS. Procedures to reproduce the issue: 1. Start M-x shell, resize the window by dragging mouse several times 2. then several "> " occurs: $ > > > > > > > > > 3. then type a command like "ls", and press enter key 4. the shell would respond: ^L^L^L^L^Lls: not found I guess it is somewhere in shell.el has configured the behavior so whenever window size has changed the shell prompt is refreshed. However this does not work out for shell programs not like bash, and the popup minibuffer like `ivy' or `which-key' would also cause sending "^L". This would annoying when have the shell opened as a split window while editing files, although I believe set default shell to bash is a workaround, I think this is still a bug of Emacs and worth to be reported. ldbeth