From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan J Third Newsgroups: gmane.emacs.bugs Subject: bug#2148: Re: In shell mode, comint-send-input seems to cut off at 254 characters Date: Wed, 13 Jan 2016 21:11:14 +0000 Message-ID: References: <87bpr9ul08.fsf@cyd.mit.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452719555 23651 80.91.229.3 (13 Jan 2016 21:12:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2016 21:12:35 +0000 (UTC) Cc: 2148@debbugs.gnu.org To: Richard Addison-Wood Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 13 22:12:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJSiI-0005SF-IZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2016 22:12:18 +0100 Original-Received: from localhost ([::1]:39215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJSiE-0001vH-Eh for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2016 16:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJSiA-0001v3-Mn for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2016 16:12:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJSi9-0006gx-Ma for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2016 16:12:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJSi9-0006gn-Hw for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2016 16:12:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aJSi2-0007rl-6Q for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2016 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan J Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jan 2016 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2148 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 2148-submit@debbugs.gnu.org id=B2148.145271948530193 (code B ref 2148); Wed, 13 Jan 2016 21:12:02 +0000 Original-Received: (at 2148) by debbugs.gnu.org; 13 Jan 2016 21:11:25 +0000 Original-Received: from localhost ([127.0.0.1]:48609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aJShR-0007qv-4h for submit@debbugs.gnu.org; Wed, 13 Jan 2016 16:11:25 -0500 Original-Received: from mail-wm0-f49.google.com ([74.125.82.49]:37348) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aJShO-0007qh-Ty for 2148@debbugs.gnu.org; Wed, 13 Jan 2016 16:11:23 -0500 Original-Received: by mail-wm0-f49.google.com with SMTP id f206so392196112wmf.0 for <2148@debbugs.gnu.org>; Wed, 13 Jan 2016 13:11:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=F+8ivmlTk3Ps4fqyHvI6vH/nHd/wsC4f+Tk7rczpAmc=; b=zdEN6346dHAY5Y6ZhM8SvQVVKMiXqyM6iPMwY2kSqta5p5kAVY3m37mOMTGPa2hwUg vd0Qaz7vKG0uLzGPOm81+2zI1bhYhBtbsTzDTRNXsQHdQSj7vg7JhsqkYVSox/IY22OK 68AdKbyyGcufX3r23QFKP08JOv13rTUnXnb1qHWRPyLaCPjPaOlvfeyGn3EJ8MSVXGaI zTwmuDymFgVTbvXfhGQBjljVUK12HiHDL+CdWnFOpvNDOnKULp70Vigls7XZvcu7Ua5c stvVyU/MTQrL6jF58LspyU9N268OfVQEIT10fhqW37ra2kkaouW4Ws/ElLg+mQTkBgvI t/Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=F+8ivmlTk3Ps4fqyHvI6vH/nHd/wsC4f+Tk7rczpAmc=; b=dJOm5qTgw+v270rsBv8Kb0PCtzfosfcMx8ymKzBtdgts0gojFkUEhdvxLAV8kbfYOq s4aUjNaPYwMJvF9Ku7AKdYRTauivaQHG3eq7/94WQ/x+cfjoG5OiKZ3WNLwC6/3DqFnS 2MsMIDLR0Qmc1wVapnCcOSa2W2uVcGfIo5pkbcrxaQCzruineQ//HsgxVq/FVg5tjIiE BRj4QINZ7245d7fv+roNC2NLICilrMYmm+cZw5fsq22Qqb/eg9DQVkXHYOag6dImJ0GT YngPvSTkOGY0IULRaIYh8ih6wfXi5OJfmmbZaw7AIkNjkrSxMUTPHYEXXxSp0p0TBCzM mJog== X-Gm-Message-State: ALoCoQnwLvyZ5Z9uxh2hxMVRn0fwGg1TFKClZ3txqAfegdIQoQlXQJSf//qudQjK8w/wHeYj2hdpG3sshYA78z17C/O49lIGgA== X-Received: by 10.28.55.209 with SMTP id e200mr29373805wma.2.1452719477294; Wed, 13 Jan 2016 13:11:17 -0800 (PST) Original-Received: from galloway.idiocy.org (4.f.7.2.3.7.d.7.7.9.2.4.4.6.8.a.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:a864:4297:7d73:27f4]) by smtp.gmail.com with ESMTPSA id ft4sm3063732wjb.37.2016.01.13.13.11.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jan 2016 13:11:16 -0800 (PST) In-Reply-To: (Alan J. Third's message of "Wed, 13 Jan 2016 20:50:26 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111597 Archived-At: Alan J Third writes: > Alan J Third writes: > >> Chong Yidong writes: >> >>> The ^D is sent in process.c:5781. If we are splitting a string into >>> chunks for sending to the process, Emacs puts in an EOF (C-d) to "force >>> it through". >>> >>> I can't think of any fix, off the top of my head. Stefan, can you? If >>> not, we could simply document this limitation in PROBLEMS. >> >> I can't replicate this in Emacs 25 (or Emacs 24.5) on OS X, and I can't find the code >> described above in the source, or at least in send_process. Can someone >> who knows their way around better than me please confirm whether the >> offending code has been removed, please? > > OK, this code is no longer in Emacs. It was removed sometime in the life > of Emacs 24: > > commit 2b0a91e78f83fb446cc38efb99399e83ad2cded3 > Author: Stefan Monnier > Date: Mon Apr 12 22:07:48 2010 -0400 > > Try to solve the problem of spurious EOF chars in long lines of text > sent to interactive subprocesses. > * sysdep.c (child_setup_tty): Do not enable ICANON any more. > (system_process_attributes): Remove unused var `ttotal'. > * process.c (send_process): Don't bother breaking long line with EOF > chars when talking to ttys any more. > (wait_reading_process_output): Output a warning when called in such > a way that it could block without being interruptible. > > So I believe we can close this bug. Apologies, I think I closed this bug report without cc'ing you in. As described above the behaviour you reported was removed some time ago. If you're still experiencing it in a recent version of Emacs, please let me know. -- Alan Third