From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#47535: 27.2; comint shell hangs on long input Date: Thu, 01 Apr 2021 10:04:05 +0200 Message-ID: <87pmzetoqy.fsf@igel.home> References: <2A7C721B-CDCD-47BF-942A-1B75DDBC12D2@apiture.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16573"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: David.Biesack@Apiture.com To: 47535@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 01 10:05:39 2021 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 1lRsKh-0004Da-Tv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 10:05:39 +0200 Original-Received: from localhost ([::1]:45180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsKg-0006vu-UD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 04:05:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsK6-0006Ou-Pc for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRsK6-00026f-Hm for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRsK6-0007vX-D4 for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Apr 2021 08:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47535 X-GNU-PR-Package: emacs X-Debbugs-Original-To: David Biesack via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: David Biesack , 47535@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161726426230416 (code B ref -1); Thu, 01 Apr 2021 08:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Apr 2021 08:04:22 +0000 Original-Received: from localhost ([127.0.0.1]:56205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsJR-0007uW-So for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:04:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsJQ-0007uN-5w for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:04:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsJO-00058A-UV for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:04:18 -0400 Original-Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:41968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsJJ-0001U6-F1 for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:04:18 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F9wgX0qjfz1s8N7; Thu, 1 Apr 2021 10:04:08 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F9wgW0kqdz1qql0; Thu, 1 Apr 2021 10:04:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id rxmHZatGQPUB; Thu, 1 Apr 2021 10:04:06 +0200 (CEST) X-Auth-Info: rsQ1KPQNNBdaSCr5FVsc5N75nRmfIJf7UWum4nZKoTDvrcQBc3LF3hWGBUyDWYuO Original-Received: from igel.home (ppp-46-244-182-141.dynamic.mnet-online.de [46.244.182.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 1 Apr 2021 10:04:06 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id A6E5A2C322F; Thu, 1 Apr 2021 10:04:05 +0200 (CEST) X-Yow: I'm DESPONDENT... I hope there's something DEEP-FRIED under this miniature DOMED STADIUM... In-Reply-To: <2A7C721B-CDCD-47BF-942A-1B75DDBC12D2@apiture.com> (David Biesack via's message of "Wed, 31 Mar 2021 22:11:18 +0000") Received-SPF: pass client-ip=2001:a60:0:28:0:1:25:1; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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" Xref: news.gmane.io gmane.emacs.bugs:203411 Archived-At: On Mär 31 2021, David Biesack via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > Start Emacs with emacs -Q > > M-x shell > > in the shell buffer, enter > > echo 1 0 0 0 x > > to echo 1,000 x's. Works fine. > > echo 1 0 2 4 x > > to echo 1,024 x's. The shell buffer prints the command, then "hangs" and > the output is never printed, and the command prompt not issued. no > character input works (Return, etc.) That's a limitation of the BSD tty interface. Once the input buffer is full, no more characters can be sent, not even a newline or the EOF character. The Linux tty interface instead discards further input until the newline or EOF. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."