From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#6800: 23.1; EOT / ^D inserted into comint input string Date: Fri, 12 Aug 2016 19:43:22 +0100 Message-ID: <20160812184322.GA19366@breton.holly.idiocy.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1471028491 16904 195.159.176.226 (12 Aug 2016 19:01:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2016 19:01:31 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: 6800@debbugs.gnu.org, Stefan Monnier To: David Fox Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 12 21:01:27 2016 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 1bYHhu-00048o-3d for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 21:01:26 +0200 Original-Received: from localhost ([::1]:54507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYHhr-0007Yb-5S for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 15:01:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYHR8-0001bO-SV for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 14:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYHR4-0003SE-IX for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 14:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYHR4-0003SA-F2 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 14:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bYHR4-0006NN-77 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 14:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2016 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6800-submit@debbugs.gnu.org id=B6800.147102741224453 (code B ref 6800); Fri, 12 Aug 2016 18:44:02 +0000 Original-Received: (at 6800) by debbugs.gnu.org; 12 Aug 2016 18:43:32 +0000 Original-Received: from localhost ([127.0.0.1]:55413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYHQZ-0006MK-TM for submit@debbugs.gnu.org; Fri, 12 Aug 2016 14:43:32 -0400 Original-Received: from mail-wm0-f44.google.com ([74.125.82.44]:37655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYHQY-0006M9-Rr for 6800@debbugs.gnu.org; Fri, 12 Aug 2016 14:43:31 -0400 Original-Received: by mail-wm0-f44.google.com with SMTP id i5so51508509wmg.0 for <6800@debbugs.gnu.org>; Fri, 12 Aug 2016 11:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9zXs3MNPFec4qEqosczgOtdDBChfvGpNKYjl7VoZlXk=; b=oxXk/RrMkPz7qDLWsf1F+cfKEr3XcfoEiJSZHriWIET/WbJDt5kVS/ReNm7uB+WzZu pnff1dloA3T4FZYoMuT7dwCYckz/ppweTaxI4vtDxNjtsbHTq86AfjhXIMXLmm1/zT+L aj5cV+v+ljAaUnDz1/dGUjRZfkb+LkhAi+X4XhbGptByC9Zf8c/4n1ho8Kx6sgPF1boF 4zmgYLWYyn7GNFRxqF7cYbhM8VV6vMduc/iV9nufZ1/NThrhe9/e7eRd+LBpMNHPqLuH Kh5YKRsCHQEjqvCLmeraDWOZ40nwj5x9XlwSXqE3/UsDtE9fUFd0rTjA94yLlQJg9UeZ r9Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=9zXs3MNPFec4qEqosczgOtdDBChfvGpNKYjl7VoZlXk=; b=YqSE78dbVJz9lC4ZLngWTf5xFGRX4+gcIuzzIhgTXafg9S/aom9MtYjSBaR3URo/8R ug8g4cR+EhHpk1/72lXFQaEihViKDWfK+jRt0FGjWsniacqbkpa1/Y4egPLdfsZuUvlZ L/gX/nwoNe/9cvO9q4+sGypxB9KTNA5FCRLyFQZdFptyDQH8LObEFh2pCISdfNYJiHr5 23ilTv9jdRaApsGMTZGTbwThL2R8jl+xNu5LgkXcFaa3LX7odVYPRozb3n3e3wlMv9QC bMsLoOPc6FocddSAMplDg36uT58RxTyBi3dMzdS/YN0lWwGME47MdnbmaAKD4eXJukgZ yylw== X-Gm-Message-State: AEkoousaIsaLegln//IS928msoQ5WCMG/0YrR9FafpiFjMLw8vCFn7fEScPtmZlGUgUuKQ== X-Received: by 10.194.184.39 with SMTP id er7mr16971770wjc.159.1471027405207; Fri, 12 Aug 2016 11:43:25 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-c9b0-c9dd-8aa4-da55.holly.idiocy.org. [2001:8b0:3f8:8129:c9b0:c9dd:8aa4:da55]) by smtp.gmail.com with ESMTPSA id qe2sm8663646wjc.28.2016.08.12.11.43.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Aug 2016 11:43:24 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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:122132 Archived-At: On Fri, Aug 12, 2016 at 11:40:03AM -0700, David Fox wrote: > On Fri, Aug 12, 2016 at 11:36 AM, Alan Third wrote: > > > Stefan Monnier writes: > > > > >> When an input longer than 255 characters is typed into comint (or > > >> shell) an EOT character (ascii 4, ^D) is inserted into the string. > > >> This can cause an error depending how the sub process handles these > > >> extra characters. For example, GHC doesn't like it when an EOT > > >> appears inside of a string: > > > > > > I believe this bug is fixed on the Emacs trunk (to become Emacs-24), but > > > the fix may introduce other problems. Apparently nobody knows how to > > > fix it right and there is about as much as no documentation at all on > > > this part of the behavior of ttys. > > > > IIRC this code is no longer in Emacs. I'll close this bug. > > > > > > I do know that commands longer than 4096 characters are truncated in emacs > 24.3.1 I just looked at bug#7078 which talks about that. Perhaps these two should be merged. -- Alan Third