From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#16582: Bug: tramp shell command doesn't read stdin Date: Wed, 05 Feb 2014 16:33:32 +0100 Message-ID: <87r47htvzn.fsf@gmx.de> References: <87k3di97pa.fsf@gmx.de> <87eh3k5pdb.fsf@gmx.de> <87zjm6rmi1.fsf@gmx.de> <87r47hsvld.fsf@gmx.de> <87lhxpslji.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391614456 8173 80.91.229.3 (5 Feb 2014 15:34:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2014 15:34:16 +0000 (UTC) Cc: 16582@debbugs.gnu.org To: Sylvain Chouleur Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 05 16:34:23 2014 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 1WB4UW-0006fv-Sg for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 16:34:21 +0100 Original-Received: from localhost ([::1]:59797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB4UW-0006Dx-BW for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 10:34:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB4UL-0006Cm-TK for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 10:34:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB4UE-0007Cu-9Z for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 10:34:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB4UE-0007Cq-6e for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 10:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WB4UD-0008Sc-TI for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 10:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2014 15:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16582 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16582-submit@debbugs.gnu.org id=B16582.139161442132497 (code B ref 16582); Wed, 05 Feb 2014 15:34:01 +0000 Original-Received: (at 16582) by debbugs.gnu.org; 5 Feb 2014 15:33:41 +0000 Original-Received: from localhost ([127.0.0.1]:51048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WB4Ts-0008S3-TE for submit@debbugs.gnu.org; Wed, 05 Feb 2014 10:33:41 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:54466) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WB4Tp-0008Rr-Fk for 16582@debbugs.gnu.org; Wed, 05 Feb 2014 10:33:38 -0500 Original-Received: from detlef.gmx.de ([93.209.68.221]) by mail.gmx.com (mrgmx002) with ESMTPS (Nemesis) id 0MRo6b-1Vn6U23UbJ-00T0dA for <16582@debbugs.gnu.org>; Wed, 05 Feb 2014 16:33:36 +0100 In-Reply-To: (Sylvain Chouleur's message of "Wed, 5 Feb 2014 15:44:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:mRImsCRt4OTPswsqmWXOnK0Chl6hn2UjGoA23a96Npdz4Wv5Kjc aYSUfWwyzmv+0qxjcHs+gxcJH/Nr1U9pCCUrgnylMM/yP6RKtBKHxlhxJb8RcBZDpcmiFUG 3VJ4f4sxzSWBbPnZ9KvVFtdAMoU6JU/EVpAY+W0zP8curoGbcb6154U65IaFj9NIDbFjC21 mgm3zMtsOvES0u5WPpohA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:84625 Archived-At: Sylvain Chouleur writes: > Yes, that is the problem I'm trying to explain since the beginning, I'm > please we have finally agreed on what was the issue :) What about this one (the new tramp-end-heredoc patch is already in): --8<---------------cut here---------------start------------->8--- *** /home/albinmic/src/tramp/lisp/tramp-sh.el.~master~ 2014-02-05 16:27:23.314546196 +0100 --- /home/albinmic/src/tramp/lisp/tramp-sh.el 2014-02-05 16:24:58.391993324 +0100 *************** *** 2720,2726 **** (file-remote-p default-directory) tramp-initial-end-of-output)) (if heredoc ! (format "%s\n%s\n%s" program (car args) tramp-end-of-heredoc) (mapconcat 'tramp-shell-quote-argument (cons program args) " "))))) --- 2720,2726 ---- (file-remote-p default-directory) tramp-initial-end-of-output)) (if heredoc ! (format "%s\n(\n%s\n) 8--- Best regards, Michael.