From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos) Date: Sat, 25 Sep 2021 15:03:31 +0200 Message-ID: <87o88g9598.fsf@gmx.de> References: <87o88jrehq.fsf@workstation.lan> <878rznbapf.fsf@gmx.de> <87mto29eah.fsf@gmx.de> <87ee9dap0d.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17410"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50748@debbugs.gnu.org To: Damien Merenne Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 25 15:04:31 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mU7Ly-0004Kf-Ex for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 15:04:30 +0200 Original-Received: from localhost ([::1]:50416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mU7Lw-0002w0-GJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 09:04:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mU7LX-0002vr-46 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 09:04:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mU7LW-0002rK-TH for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 09:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mU7LV-0003qX-N3 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 09:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2021 13:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50748 X-GNU-PR-Package: emacs Original-Received: via spool by 50748-submit@debbugs.gnu.org id=B50748.163257502114755 (code B ref 50748); Sat, 25 Sep 2021 13:04:01 +0000 Original-Received: (at 50748) by debbugs.gnu.org; 25 Sep 2021 13:03:41 +0000 Original-Received: from localhost ([127.0.0.1]:60398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mU7LB-0003pv-EX for submit@debbugs.gnu.org; Sat, 25 Sep 2021 09:03:41 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:39671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mU7L9-0003pi-3L for 50748@debbugs.gnu.org; Sat, 25 Sep 2021 09:03:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1632575012; bh=H3gbZlA3+WfopFz0NOMm1WAUekDIsCxQzfamJPi4O68=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=N17Wvn9Y5Z8TPso9CsBQi3GY6MYHUMmkqG9jfMON7OuvOBxab8q2eP6dDETXDmIG7 W6ObhQKTmbHH1fMfzGZKz9+4K0H3gpmOKcRdz1FrkH9wahGK5/GhVMQkO5fhihJP/W xXt45CdH8wHOLChAvJ8mSx5HzBfyFEPXicjgAZ0o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.91.238.157]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MmULx-1nC0rV0aP3-00iROr; Sat, 25 Sep 2021 15:03:32 +0200 In-Reply-To: (Damien Merenne's message of "Sat, 25 Sep 2021 07:44:36 +0000") X-Provags-ID: V03:K1:oJNPUagfA7pS31NRfKpIxYmWIsa8pAciGjRR0hgBJfKU59ADmVo CF93501xmxTR8JnviWhLZcEUyGIl2iNAcGDZ6uX4AOqiYeIWOktKzzi9pt2dw48jvodoWZ3 QpfHzuqqWIAmS79TNv5Pq3Vq6q6W7hZc+F57fMKsUN4P4CMliOfGIgHOBZ0wM/z62AgwEQD t4ER2TPZ1Z2lejUPcva0g== X-UI-Out-Filterresults: notjunk:1;V03:K0:5cFbAEbRLDo=:B0P6DkYtaI0STvNKWPpc4F uyGJCjdbQ1RFg7GglWGw4zlsYCoQP74j8yBHHLPah8McZiRpLOPhHRuNM7D1OClLSFjz2EhPu Jw6F9TLczxduCjZMiZSTcD0XN+Zf/7ns1h1k+bSUJ4ScsL3rPZTrxebAe8Ajv8CChf8JSrU/C NUUdGqc4ybSk1TNl7Mx3TSHXcvf5oZzhmsWktxSBNkrilviukDqfl+ujH21gXsIJid3JF6tMz 3+E4EpECNoWHuaDCpRG7f19ObUex9DPUXBOeoHfHNO1LVP+cV4P8UuZzHcI+tyV0vHmHtQfqS Njzv2jWQRvGA6TezzlE6YyGcW87H3Q1b4CMvA18iubM0SZr8fCWvanJczMpGZKs9DyEOKvEcT C4owpPHuhV9l/6BYtRSC0o6rIM1TeWH2q3nq1Bw8+PRgqgUmAudf9uAGWTQDhgy3u4o2/fP5j 32fackpful2HLqhuB9Wir+mALocqTbaSejIi783Rdea+3QbpLGyrngUAczBeMq6BPlUgrjdpx ujAApw/mRib8xAC/kK1Fy8T9h49nO6kFIKQ8ShZLt6/czVVi02Jrvx3Lf+lh7J7yId7DbXzGu EjbuOsJKi+TheDcPZwqG0gkC9y5wVhuMBjWK7qWPVS8DXWhfPpL2wuYmSQoLXdSiB05UZhhMn 9H6Kd2ErCuN8q6Dy8M3dr/XwQRkkdgkd03zT9enR2VdoOgxD1/0h+hif9cgXvn6ghiOfnJupm +qei+mwqTYUzVCP8MmJGbADftNRlDpU8nxcAeeWEU+OzRoUUXM7kLs+2J4/QzYkYmbGNaoV4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215439 Archived-At: --=-=-= Content-Type: text/plain Damien Merenne writes: Hi Damien, > Here it is, I also attached one with the stty command commented out > for reference. Nothing special in the traces, everything looks normal. So I would apply the following patch, could you pls test? --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 7f1a52fa93..81b99b7c3c 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -2938,7 +2938,11 @@ tramp-sh-handle-make-process (process-put p 'remote-pid pid) (tramp-set-connection-property p "remote-pid" pid)) ;; Disable carriage return to newline translation. - (when (memq connection-type '(nil pipe)) + (when (and (memq connection-type '(nil pipe)) + (not (string-match-p + "Darwin" + (tramp-get-connection-property + v "uname" "")))) (tramp-send-command v "stty -icrnl")) ;; `tramp-maybe-open-connection' and ;; `tramp-send-command-and-read' could have --=-=-= Content-Type: text/plain Best regards, Michael. --=-=-=--