From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cOsWLmMS1WCgxQAAgWs5BA (envelope-from ) for ; Fri, 25 Jun 2021 01:16:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gF+6KWMS1WAAAgAAB5/wlQ (envelope-from ) for ; Thu, 24 Jun 2021 23:16:51 +0000 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 4830313521 for ; Fri, 25 Jun 2021 01:16:50 +0200 (CEST) Received: from localhost ([::1]:37356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwYaW-0001Q4-HY for larch@yhetil.org; Thu, 24 Jun 2021 19:16:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwYZc-0001Pu-M6 for emacs-orgmode@gnu.org; Thu, 24 Jun 2021 19:15:52 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:34525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwYZa-0005tn-7g for emacs-orgmode@gnu.org; Thu, 24 Jun 2021 19:15:52 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 0513B320091C for ; Thu, 24 Jun 2021 19:15:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 24 Jun 2021 19:15:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=block-party.net; h=from:content-type:content-transfer-encoding:mime-version :subject:message-id:date:to; s=fm3; bh=L9bEUU9QmZRPTlRgYElviDeyR qLxmfDHGpAn0Nktl5I=; b=8DQlu32clIW6DboiGDlKmrFBIrkJeryJmrhJZLN9G P7X2yVgn1tl+cyLE5p+lNFMme9410G266h+i8+fF7TLvjRwNKDEjd0wwINI6VJQf UelV1L1fO24BvGQvC5IQLs6Mqdl7yBLeusr6tHEcD1DJsk1fn4UNCHEVhbfRH5dM 84nJHBZcJy778ObKrXquydXuCsGp4IjElZtl/bPaRM5c/M2bUoFyczC9mdhnrqBT 5JN3X8x915VdKDLtAYxmH/ertaDeuVIMngyiBwTCzo/htD7NLjVsVRPsH0Dwj6iO ibqPhbPJb4vR9Ugwv77nkFTsJAMUqC02vJriUumkaP3eQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=L9bEUU 9QmZRPTlRgYElviDeyRqLxmfDHGpAn0Nktl5I=; b=baeLIb8FtrkxBbpiB2ZCWi LGCzg7+WE2OD7pLO3FYi//IB8+kReGO+wi7Yef32t4WGoaLZMxyT/q0FhtgUjlyd rOMwQV1O+4WxWl9vxrq7xWFrzC1Ddui+wVCWm1s1sW/Dz508MrtvxydihyT8aq0x QGO1gz2FVvRXX9zlnzEN3NvM+yOdZ4NkqeuNvpS/eMfCb9xFAWw1Wz3D32t0EpP0 dSA1rMaJzfngon2a9K0Mdjqac33mkJImHklfvUAQ+usteS9wH+ovfjLkOfMHd5XY zo09iMNRy3El2H+DRKq/jCCm0SQwuL12dfwq+cNLmReCan50rSB5+ZWeZN4eEE/A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegiedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtdejnecuhfhrohhmpeffrghvihguucffhihnvghrmhgrnhcuoegvmhhpvghrohhruggr lhhisegslhhotghkqdhprghrthihrdhnvghtqeenucggtffrrghtthgvrhhnpedvfeekhf dtffdtueduieevleeivdevffffteeiudevvdeludeukeekkeeuieeffeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvmhhpvghrohhruggrlh hisegslhhotghkqdhprghrthihrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 24 Jun 2021 19:15:46 -0400 (EDT) From: David Dynerman Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Specifying shells for remote ob-shell sessions? Message-Id: <3D86861D-E962-4FDB-B520-374C883C9F1E@block-party.net> Date: Thu, 24 Jun 2021 16:15:44 -0700 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3654.100.0.2.22) Received-SPF: pass client-ip=64.147.123.21; envelope-from=emperordali@block-party.net; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624576611; h=from:from:sender:sender: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=L9bEUU9QmZRPTlRgYElviDeyRqLxmfDHGpAn0Nktl5I=; b=YTq3oFyZne1DR4cEJ4nPd92QuEQDs9HjB4p8uP8NVHkx8cFIrXtSbjj9U4ga3rR8OscEMw 6/g7A/xzH5SIh0OxtAGxeCXUyeFVnaIqbp6TCts0vlSQrb5sFWHwGjlaXfqqHuhdEczW5p FyRLHnvAdSCJUg4SRBgEEbTm6wTh2WMKAeVPVMh8RCwfO7H6vXmbVqavcIn366lhxhU9js jhEN8id0kEHNr+KLxrrfJywT3YjLKAOgjgJQOMh4l+smWSc4fEOxI+kCtFwYRCqYThzR1k qyaC8L30P2WYDRR2EQvqPzYTGWj4OWiDu3WXf1t0t4+2n3OoEHWfTgZBarKQWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624576611; a=rsa-sha256; cv=none; b=tdU+gy4U4bD2/+b07lvOjU41oingNIg1B06y8SY5TsYaBQmGGh3RDHV6Ivurujz7lfd3pF MVi2vHW7wCF16CO//luDl8KtizvHzlpKkbDzUOk5LSkMs5v68wmdZJLoiJsDfMJRepVrHS PrE0aBz9VTn0dDh0jx3ytAmhNLB6h+9uOEcYEXlI7vWtYZZ0FwuhkErlMQsNHl94/l15KC yPxn8yrIEHH2cQkTM5wc3IPFyXeH7lptzU5XMCObR5+H0xY0mPINbAN/rP0PV/OU93ISYp Iw4RzR9WCzEh13HvhTX4BoioW9oeFNOxVg3WPIvpCp7agXi8kXJUomfwsrU2CQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=block-party.net header.s=fm3 header.b=8DQlu32c; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=baeLIb8F; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=block-party.net header.s=fm3 header.b=8DQlu32c; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=baeLIb8F; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4830313521 X-Spam-Score: -1.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: t5Fi6yfCOew1 Dear Org Mode Friends, I=E2=80=99m having some trouble getting the shell I want to run on = remote hosts in session ob-shell blocks - it seems that no matter what = shell I specify, session blocks will always run /bin/sh. I=E2=80=99m not = sure if this is an org or tramp configuration issue on my end, or a bug = in org. I=E2=80=99m pasting a snippet that reproduces the behavior in emacs -Q = below. Does anyone have an inkling if this is a bug, or, alternatively, = suggestions for how I can run remote ob-shell sessions with the shell of = my choice? Thank you, David #+BEGIN_SRC emacs-lisp = =20 (require 'ob-shell) = =20 (emacs-version) = =20 #+END_SRC = =20 #+RESULTS: : GNU Emacs 27.2 (build 1, x86_64-apple-darwin17.7.0, Carbon Version 158 = AppKit 1561.6) =20 : of 2021-05-20 = =20 #+BEGIN_SRC emacs-lisp = =20 (org-version) = =20 #+END_SRC = =20 #+RESULTS: : 9.4.4 = =20 #+BEGIN_SRC zsh :dir /ssh:remote-host:/home/ubuntu = =20 echo $0 #+END_SRC = =20 #+RESULTS: : zsh = =20 #+BEGIN_SRC zsh :dir /ssh:remote-host:/home/ubuntu :session foobar = =20 echo $0 #+END_SRC = =20 #+RESULTS: | | | $ /bin/sh |=