From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qDA+OZX5OGXtgQAAG6o9tA:P1 (envelope-from ) for ; Wed, 25 Oct 2023 13:18:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qDA+OZX5OGXtgQAAG6o9tA (envelope-from ) for ; Wed, 25 Oct 2023 13:18:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9594869659 for ; Wed, 25 Oct 2023 13:18:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=r9qDU3Ti; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698232725; a=rsa-sha256; cv=none; b=LUWvovyQcHIS8v9qR8dInEQu5IRUn6EtJp2N2H8MCuZdBqpa2DKqqzUjn/ZIIMyaVhFYHP HdQAHOgIcmmXYp/EcjvLCw+pPqcTiuBUW7qJxAWM3qDmQY7QEMtmmdlvFo+t4P8lM5InYp lwRSttl7q6vuM5ckkxuyzbWilW+rJTyAW1mEWUNIsp39dEVq+WN+68N4vLZ8eLtDSgkXja w+QOH4BH1Dd/KL6TlQMGmf2IKA96KV9rbK1eoaMpGYpM+CFjQs76mRNFUhG4anNR74xBZb /NToyAcIna0PGoM3POlHyov90kuFcaqIlOkF0lb7f5hjxarcDfYujEpP/FYr4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=r9qDU3Ti; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698232725; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7C5g7fqFHpAi4m2uvklQaSLkcTZ7Xl4t/E84QkTWqbE=; b=O6aQ6hkJMTCDWWEy+zWz9GTarR+S+cpglwtM2nePnVx0jEBKIzb95H5nvb39lrHUDGPG0C QVkrlBZuXqxbcMYTzFsd8VVUWczvncrhmznlFwatUn8humHYwwRXbFQSInG678dmoap1eS RxLoy+eTXmbd1SGtpNM/1rfE+Lrc4UrGK9QwgoIqnxH8l4bEdBzXvPM86eykvzzJ4bwrxC IV0H3IUCbRgaUGoLX0MTn/Rr7khDALwES5OH12iSFJ53hgdrPwY3D+O8CZ8W4hfeQzcvjW dB7dWeVKzJg3HMTf4pRLBwTzUJaHiWQ9+kvluV68yRyMQkNT6TWgumQKumeEHQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvbtf-0004Hu-Mj; Wed, 25 Oct 2023 07:17:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvbta-0004HM-8h for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 07:17:54 -0400 Received: from smtpout01-ext2.partage.renater.fr ([194.254.240.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvbtV-00069W-Ru for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 07:17:52 -0400 Received: from zmtaauth01.partage.renater.fr (zmtaauth01.partage.renater.fr [194.254.240.25]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 5D47668802 for ; Wed, 25 Oct 2023 13:17:43 +0200 (CEST) Received: from zmtaauth01.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPS id 55488140164 for ; Wed, 25 Oct 2023 13:17:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTP id 43FC4140177 for ; Wed, 25 Oct 2023 13:17:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth01.partage.renater.fr 43FC4140177 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1698232663; bh=7C5g7fqFHpAi4m2uvklQaSLkcTZ7Xl4t/E84QkTWqbE=; h=MIME-Version:Message-ID:Date:From:To; b=r9qDU3TiLW68ujzqvomtwNH93LEQXIYDTDlm+rX/jTDdOh+TSMj3LFgL2Q3AbHfyA n6qMEyG7mUcJFkLYoB7BgJZoiaLX0UM1phr/jWAfRDzjhVJqXOpKAnmcPx2wzDXai8 MP84GfSOhZLbfa7NnBQso0YzMCxr/YqLoHsem2JFR8qAicpB4bEpbcNCopNVrYJi06 9gsEAgx7kW76ntMXiBUocSMRQb86ojAoeDTWP28GMStMXuPmrtDjbq9ahs0sXuEZ87 pcHsnvuDabthA5vFHpy2HPP6tVoOUzlYfMErXCjxBRUQMvbu983laSfev0F5ccdbRW fBbUDaO1Oxu9Q== Received: from zmtaauth01.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth01.partage.renater.fr [127.0.0.1]) (amavis, port 10026) with ESMTP id CbjTNvCrIXjh for ; Wed, 25 Oct 2023 13:17:43 +0200 (CEST) Received: from 130.79.11.24 (unknown [194.254.241.250]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPA id 0DE3D140164 for ; Wed, 25 Oct 2023 13:17:42 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25912.63830.726070.953843@gargle.gargle.HOWL> Date: Wed, 25 Oct 2023 13:17:42 +0200 From: Alain.Cochard@unistra.fr To: emacs-orgmode@gnu.org Subject: bash source code block: problem after ssh commands X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.8 at clamav03 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvkedrledtgdefkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgggtgffkfffhvffuofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpeetleeugefgjeekfefftefffffhfedvtefhteevfeevveefgeeuvdfgfeduvdelheenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghlohepudeftddrjeelrdduuddrvdegpdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh Received-SPF: pass client-ip=194.254.240.33; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout01-ext2.partage.renater.fr X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alain.cochard@unistra.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -11.10 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Queue-Id: 9594869659 X-Spam-Score: -11.10 X-TUID: ePFiTjHQ02ME Hello. For me, 'C-c C-c' on the following group #+begin=5Fsrc bash :results output echo "foo" echo "bar" #+end=5Fsrc works as I expect: 'foo' and 'bar' are echo'ed. But it fails on this one: #+begin=5Fsrc bash :results output ssh cochard@fruc.u-strasbg.fr "echo foo>foo=5Ffile" echo "bar" #+end=5Fsrc The file 'foo=5Ffile' is created on the remote machine, but 'bar' is no= t echo'ed. I have tried to insert other commands between the ssh and echo commands, or append semicolons at the end of the commands, without success. By contrast, it works with this one: #+begin=5Fsrc bash :results output ssh cochard@fruc.u-strasbg.fr "echo foo>foo=5Ffile" ; echo "bar" #+end=5Fsrc Perhaps it is worth noting that I observe the same behavior if I simply copy/yank the commands (I mean: the two commands yank'ed at once) in an emacs terminal (obtained with 'M-x shell'). However, everything works as I expect if I copy/yank the commands (all at once) in a "regular" X terminal (xfce in my case). I wish I could understand what is going on. Thanks --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]