From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2148: In shell mode, comint-send-input seems to cut off at 254 characters Date: Tue, 07 Apr 2009 11:47:14 -0400 Message-ID: References: <87bpr9ul08.fsf@cyd.mit.edu> <871vs4pmqv.fsf@cyd.mit.edu> Reply-To: Stefan Monnier , 2148@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239120737 19602 80.91.229.12 (7 Apr 2009 16:12:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2009 16:12:17 +0000 (UTC) Cc: 2148@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 07 18:13:35 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LrDu7-00041H-FU for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Apr 2009 18:12:03 +0200 Original-Received: from localhost ([127.0.0.1]:56042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrDsi-0000oD-K0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Apr 2009 12:10:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrDmK-0004vl-9Y for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 12:04:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrDmF-0004sv-EP for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 12:03:59 -0400 Original-Received: from [199.232.76.173] (port=58684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrDmF-0004se-0J for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 12:03:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52372) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrDmE-0002Wv-Fb for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 12:03:54 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37G3m20016305; Tue, 7 Apr 2009 09:03:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n37Fo3Nw011934; Tue, 7 Apr 2009 08:50:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Apr 2009 15:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2148 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2148-submit@emacsbugs.donarmstrong.com id=B2148.123911924311619 (code B ref 2148); Tue, 07 Apr 2009 15:50:03 +0000 Original-Received: (at 2148) by emacsbugs.donarmstrong.com; 7 Apr 2009 15:47:23 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37FlKV5011611 for <2148@emacsbugs.donarmstrong.com>; Tue, 7 Apr 2009 08:47:21 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEAFMS20lMCqib/2dsb2JhbACBUs08g30GhQ4 X-IronPort-AV: E=Sophos;i="4.39,338,1235970000"; d="scan'208";a="36714992" Original-Received: from 76-10-168-155.dsl.teksavvy.com (HELO pastel.home) ([76.10.168.155]) by ironport2-out.teksavvy.com with ESMTP; 07 Apr 2009 11:47:15 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id EB1A780A8; Tue, 7 Apr 2009 11:47:14 -0400 (EDT) In-Reply-To: <871vs4pmqv.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 07 Apr 2009 10:22:16 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 07 Apr 2009 12:03:59 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26980 Archived-At: >> The obvious fix is to not add this ^D. At least I could never >> understand what it was supposed to do ("force it though"? what does >> that mean?). > Ah, ok---for some reason, I thought you wrote that code, but on closer > inspection it was written by Gerd in 2000. Not close enough: his 2000 patch just changed indentation. I think the origin of this problem is: revno: 6577 committer: rms branch nick: HEAD timestamp: Thu 1994-03-03 05:50:31 +0000 message: Include unistd.h. (pty_max_bytes): New variable. (send_process): Send an eof after each pty_max_bytes bytes. And clearly there was a good reason for that. I don't know enough about PTY programming to know what we should do. > The current symptoms don't seem serious enough to risk changing this > now, so I think we should do it after the release. WDYT? Agreed (if at all). Stefan