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: Sat, 27 Oct 2018 09:59:46 +0300 Message-ID: <83k1m3oowt.fsf@gnu.org> References: <83a7n9udxv.fsf@gnu.org> <83ftwuq9ii.fsf@gnu.org> <83a7n2q6jb.fsf@gnu.org> <83sh0tp4z4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1540623546 5233 195.159.176.226 (27 Oct 2018 06:59:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2018 06:59:06 +0000 (UTC) Cc: 33050@debbugs.gnu.org, fitzsim@fitzsim.org, alan@idiocy.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 27 08:59:02 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 1gGIYo-0001Ej-8v for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 08:59:02 +0200 Original-Received: from localhost ([::1]:35344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGIau-0007ZN-MZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 03:01:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGIao-0007Yx-Bq for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 03:01:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGIak-0007h4-Bj for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 03:01:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGIaj-0007gr-Sh for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 03:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGIaj-0002C5-NG for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 03:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Oct 2018 07:01: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.15406236128356 (code B ref 33050); Sat, 27 Oct 2018 07:01:01 +0000 Original-Received: (at 33050) by debbugs.gnu.org; 27 Oct 2018 07:00:12 +0000 Original-Received: from localhost ([127.0.0.1]:44517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGIZv-0002Ai-MU for submit@debbugs.gnu.org; Sat, 27 Oct 2018 03:00:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGIZu-00029e-4d for 33050@debbugs.gnu.org; Sat, 27 Oct 2018 03:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGIZl-00078L-1z for 33050@debbugs.gnu.org; Sat, 27 Oct 2018 03:00:04 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGIZT-000733-DQ; Sat, 27 Oct 2018 02:59:43 -0400 Original-Received: from [176.228.60.248] (port=4767 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gGIZT-0006tl-0C; Sat, 27 Oct 2018 02:59:43 -0400 In-reply-to: (message from Filipp Gunbin on Sat, 27 Oct 2018 02:12:21 +0300) 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:151658 Archived-At: > From: Filipp Gunbin > Cc: Eli Zaretskii , 33050@debbugs.gnu.org, alan@idiocy.org > Date: Sat, 27 Oct 2018 02:12:21 +0300 > > Thomas, I'm not him, but since you asked... > I don't really understand why pty mode is better here than pipe mode. > Do we need job control, or escape sequences, or anything else specific > to pty? Yes, we want the buffering be as if ldapsearch was invoked from a terminal. Possibly also other features, but I don't know enough about the program to tell. Basically, if the program was written for interactive invocation communicating through pty is always better. > If we use pty, won't these features, on the contrary, get in > the way somewhere? If they get in the way, it's another bug, which needs to be analyzed and solved. It could be (although IMO improbable) that we decide to go back to pipes, but then we will know why we did that, and we should leave behind a comment with the explanation. > Your suggestion to condionally fix this for Darwin on release looks > good. Right.