From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33050: 27.0.50; [macOS] Problem with process input with process-connection-type nil Date: Sun, 28 Oct 2018 18:00:49 +0200 Message-ID: <8336sqm572.fsf@gnu.org> References: <83a7n9udxv.fsf@gnu.org> <83ftwuq9ii.fsf@gnu.org> <83a7n2q6jb.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1540742530 13326 195.159.176.226 (28 Oct 2018 16:02:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2018 16:02:10 +0000 (UTC) Cc: 33050@debbugs.gnu.org, fitzsim@fitzsim.org, fgunbin@fastmail.fm, alan@idiocy.org To: charles@aurox.ch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 17:02:05 2018 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 1gGnVs-0003MF-MQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Oct 2018 17:02:04 +0100 Original-Received: from localhost ([::1]:40674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGnXy-0007Oa-QL for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Oct 2018 12:04:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGnVv-0005ay-7s for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 12:02:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGnVr-00068G-Do for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 12:02:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGnVq-00067q-7x for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 12:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGnVq-0008Pl-0v for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 12:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Oct 2018 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33050-submit@debbugs.gnu.org id=B33050.154074247432289 (code B ref 33050); Sun, 28 Oct 2018 16:02:01 +0000 Original-Received: (at 33050) by debbugs.gnu.org; 28 Oct 2018 16:01:14 +0000 Original-Received: from localhost ([127.0.0.1]:49192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGnV4-0008Oj-0V for submit@debbugs.gnu.org; Sun, 28 Oct 2018 12:01:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGnV2-0008OU-B6 for 33050@debbugs.gnu.org; Sun, 28 Oct 2018 12:01:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGnUu-0005HT-Ve for 33050@debbugs.gnu.org; Sun, 28 Oct 2018 12:01:06 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGnUZ-00057k-06; Sun, 28 Oct 2018 12:00:43 -0400 Original-Received: from [176.228.60.248] (port=4221 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gGnUY-00072U-It; Sun, 28 Oct 2018 12:00:42 -0400 In-reply-to: (charles@aurox.ch) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:151747 Archived-At: > Date: Sat, 27 Oct 2018 22:28:15 +0200 > From: charles@aurox.ch (Charles A. Roelli) > CC: eliz@gnu.org, 33050@debbugs.gnu.org, fgunbin@fastmail.fm, > alan@idiocy.org > > > However, _for subprocesses used > > by Lisp programs for internal purposes, it is often better to use a > > pipe_, because pipes are more efficient, and because they are immune > > to stray character injections that ptys introduce for large (around > > 500 byte) messages. > > Does anyone recall where these "character injections" come from? ISTR > that these no longer happen... Maybe this is a reference to the code > deleted here: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2b0a91e78f83fb446cc38efb99399e83ad2cded3 > (as seen, e.g., in Bug#32438) Probably. > Also, both "process-send-region" and "process-send-string" (in master) > claim to split their process input if it is longer than 500 > /characters/ (not bytes) -- but reading through the code in process.c, > it's not clear where (or if) this still happens. pty_max_bytes was deleted as well, so I think you are right.