From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kN6rMMwfGWctrwAA62LTzQ:P1 (envelope-from ) for ; Wed, 23 Oct 2024 16:09:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kN6rMMwfGWctrwAA62LTzQ (envelope-from ) for ; Wed, 23 Oct 2024 18:09:48 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (policy=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=1729699788; a=rsa-sha256; cv=none; b=T027deA5WuSGzxwFI7N72YFCK+tB5CMWiy0Ei5vFBNfTR3JFlmDDbtnvUhDz1t0GFJ1Uv0 MAgsqkiJoVZnjh+MbDZGMQINH0OWApQccNSyhdSQFO20RxCUt3/o5EsFtr+/gx3YFW93YY mnqJGQDg7t111H0Bx0Y7EC3gMr9/+ebX/sGwlz8+zD+llED5pWr2pp0Olwmk0UJK4GOJzd uphjWujWzlMUtx9tsBoFBdlJoTRazC37Ms+vTfijyg1ubzckzhD9HW772FTZpp+50lZTQt +pRNH8RImHE8MFKnn6+B8MWPDLzJTAD+Xwc7XRvT6MwAXuTzVfQ9V7Un2n0FVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (policy=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=1729699788; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=p9pjy9ya3CoAGJb0ILuJ1AYfkOgLIYGxAYj/CQggCTQ=; b=nCCzYN1AXty9tHDGpUz8FQCIOxcS740/vSm9k85je+ZngW14jk9aB68LI/ArnrOq8o4m// YpAoM9KfyqYMQ6/v9YLAM5ydZV3FeqPTNV7S9Awov+upfSfweKDFsGGEAQHzeTwAnohGx3 P66U9d8NHQtt2jZtLQUWzjrOplbFV+v02NheLFzn0twXMaJuMONLeEYtuvY0RWRiSZpawz AK0QTpDDpuLxAiWHrEcyUkk/Yjsf6OM8lVVB/9JoizQN9AaMBNVk4vBkBrwA40BwSw88n3 7lXBI0pQKFlOpC4UGmTvQQoMknKIdJuJmlgJdrLkXJYO+8XIZDzmeXM3KajUyQ== 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 620FD61291 for ; Wed, 23 Oct 2024 18:09:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3dRC-0000hw-Ij; Wed, 23 Oct 2024 11:38:19 -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 1t3dR7-0000hf-Pj for emacs-orgmode@gnu.org; Wed, 23 Oct 2024 11:38:14 -0400 Received: from us-smtp-delivery-170.mimecast.com ([170.10.133.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3dR5-0007QS-8S for emacs-orgmode@gnu.org; Wed, 23 Oct 2024 11:38:13 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2176.outbound.protection.outlook.com [104.47.58.176]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-479-e-Up-wZQPLWSlysx7C0i-Q-1; Wed, 23 Oct 2024 11:31:38 -0400 X-MC-Unique: e-Up-wZQPLWSlysx7C0i-Q-1 Received: from DS7PR20MB4671.namprd20.prod.outlook.com (2603:10b6:8:79::16) by DS0PR20MB4959.namprd20.prod.outlook.com (2603:10b6:8:c9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.16; Wed, 23 Oct 2024 15:31:35 +0000 Received: from DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::5011:b903:f36c:9905]) by DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::5011:b903:f36c:9905%4]) with mapi id 15.20.8093.014; Wed, 23 Oct 2024 15:31:35 +0000 From: "Cook, Malcolm" To: "matt@excalamus.com" , Ihor Radchenko CC: "emacs-orgmode@gnu.org" , "jackkamm@tatersworld.org" Subject: Re: [BUG] conda doesn't work in ob-shell sessions AND org-babel-execute-src-block filters characters from :session *shell* output Thread-Topic: [BUG] conda doesn't work in ob-shell sessions AND org-babel-execute-src-block filters characters from :session *shell* output Thread-Index: AQHbJV8Fvu+inPOS7UGALkt+gJh82w== Date: Wed, 23 Oct 2024 15:31:35 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR20MB4671:EE_|DS0PR20MB4959:EE_ x-ms-office365-filtering-correlation-id: 0d04ddbf-92e5-4dcf-7567-08dcf377c790 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|376014|38070700018 x-microsoft-antispam-message-info: =?iso-8859-1?Q?tVUudPiTWNkPR7W41SM1M12DQov833NTSX7+kphNsXqoW2T7NK3+h6QrmG?= =?iso-8859-1?Q?Z7EoSSCrBtlhBk3sk/4/gA0fOv+Zxvf8WJ8EqhUWohGxbhrh6/ccZ/tSo6?= =?iso-8859-1?Q?P9I2iG6HO0SCMTCFfjX9GU8oDBBGnbp8+t0gt/iZSUUTMRrywXU/yf5uuE?= =?iso-8859-1?Q?7XXrrc1GoLhhSEv+qboxajdPIF/fHuovIfG8KrWBbwyYMvKBeM4nV7vmPe?= =?iso-8859-1?Q?CHZ0VQpjQfODVoaybsJTV7xxoZJ1xqVG8egoybPEumqq3GYP4v2Zz793Az?= =?iso-8859-1?Q?mQEm7IPGYsiNWOjR+3h3FZ684dqFHgE6tNw8BWEGXQRDqp12R/zwvCXKyc?= =?iso-8859-1?Q?fOzcW3E/HxDjqfX+zplQCIvGoRfrKAFHv8Zg4c3RDROUIv4ck3zvCCi7D8?= =?iso-8859-1?Q?hOSTsVNzvalu86OCj2WsrJ60DHhFdMyr6UXSzIbvuWhBs/nlIuUhe5CRzT?= =?iso-8859-1?Q?Iqy71YAji0O/T6d3m6SbgQHW4ANXG1FgcCTFbqExxQ8595CfpRX5qGy7vB?= =?iso-8859-1?Q?l5rkUHV8cac5qTs5kc2laOIr7IdwzDFpMpCcnmWa8nd2UERO8E7lwe5+2/?= =?iso-8859-1?Q?7Mhxp7l64OU1aRn0/A1e7kmuqKJJui3nACl0BE3Rzcszkw4wlc9UeVOS2B?= =?iso-8859-1?Q?uyzN1/RLhQz6pgS9NZY3uVrSzSih8DI4ipstLhGciu+1MqyTd+vxN0eBnj?= =?iso-8859-1?Q?ic7Dxzg9Wnmefpq8uD7Zvn1Z4rLbZC7GOIzmFUXk0gOvA+VGKIlgTgDCFp?= =?iso-8859-1?Q?wjKS2rAyqtLFvoPNwsieVTTSN/N9JJpEI7ivAUkcosFouFKRSFfPSMKi9u?= =?iso-8859-1?Q?H8QLMeuEbfv8BNOAp25LEvICje4fkh2bhJnkNtJbx2zFbDPsHVkdn3ScLy?= =?iso-8859-1?Q?r0oDwxiYOvAaODSKoqCchyj7/eyDJroZ1zGirEnwFAAIwxyoI6Uy5hhsPB?= =?iso-8859-1?Q?FSRBsyw3zsUmIQMrwkgrziP4sdqicCnonpDGaR0Euh0ip4Tok4vT3iAJay?= =?iso-8859-1?Q?qwZiv6YuhVVo6pkMM0tHDFm/Xz61gqTG4MPSfIex9B1ovuHHg+sTkxfEUc?= =?iso-8859-1?Q?2pjvuvPsTx65ATywQBfiiW+61pFXYx3pImiw5BBPf9Lhb1dJ9AQemULIx3?= =?iso-8859-1?Q?jpfHlkW1aLYJ3Y7FuaHpvyZxCOEUbvITnESFDEy4b6cEeTRxAOrKtga7yB?= =?iso-8859-1?Q?OVTGeRKu5Z8pLFOKvkz3HmhpfxfwYogducvFKPf8XaH50Wqkdv0upRdrDu?= =?iso-8859-1?Q?ub/9uwi8e4nAMjnGRcykwG6Ak+/kUmWZe9mKtx/NTP5FhiT3Bhj6YVIos5?= =?iso-8859-1?Q?RWIabFB1HEPY0isyEWG8/HeTLW272NFH9GKttHiCaeCIedCjmdbvVsnFaZ?= =?iso-8859-1?Q?+qwaxtn+E4?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR20MB4671.namprd20.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1102 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?zviRufB8jDqUPgX5Tp0iggAw+PAjXxH24ssyeA7NLglJlWIC8S05nHpfw8?= =?iso-8859-1?Q?MTf1LqgB9BErX3EGyn6AcxfzCs/1Wv6Y8z4yNWBYZueWfc3+pYgw03VChp?= =?iso-8859-1?Q?1r+Q27xBVozC5YCuXAXCNQrIOLOysDI5mIxbOdNhulKXL9VHcTJ7IJGOXQ?= =?iso-8859-1?Q?o7sWTRjAc42wSgHNtPEV8hz8kiwPpN9USXsT8YzLlDppPpa1JC4WEMo7t/?= =?iso-8859-1?Q?V50kcJoP8uRgRbbUbPIGaezmv2rLeu5Y/yChcO/bnVgFbgBSaOMWZzU8Hg?= =?iso-8859-1?Q?ymfVCJ/wVfyerRnMVHYf+MmBAnfikoi/Z12mPigYRQJ7VGQL2eWaEFy415?= =?iso-8859-1?Q?gQGAJvNUu8BdUrJyLNn04b0b1AU2xYu6Y3zMPH3aj8CAko5hKY6jwNnZuk?= =?iso-8859-1?Q?9mjIPuUMexNIax7MwyIet48XXydg6RrTKmfhgMxQrK9YdQvAIgBOGBtBvx?= =?iso-8859-1?Q?vy166aElR4KXNnxE9yaLU4fylEr/PwDT5JQgjDbutF16jrrSpkkTZrp+ZQ?= =?iso-8859-1?Q?ApqPa7Xe7hY0em9wrMrkxLPTJ9MViWYg1+GAKC27S6JQ/bSLPAEb2jZKV3?= =?iso-8859-1?Q?KARB53sTngznuE5AOeu/g2ts9fcpCTGj1/nQdy7D2JCmkLKrc1U2s2VzcO?= =?iso-8859-1?Q?AlobZvB2WJMSjzHGP23p6o5ag/kX24U98CYR3MBHNw37zUT+WW3GLatq48?= =?iso-8859-1?Q?2SUyg5+2/cZG17cJ4FrBcfaayjCezkwQz5BRU/HKWJhRBzgT/yHZT0GACx?= =?iso-8859-1?Q?N2LOPOWw1/O4VhlULeb15OBmNydf2PYvTjb7hLSgn72rnxuwqEMGgxQIWP?= =?iso-8859-1?Q?gvjyXAS9m/XRMFRcWdg0uDD2I++ixXacTZ2ZMrp2ZxLolKP3cRbGfEnG5l?= =?iso-8859-1?Q?AnuW8pBf28MBPqj+F8sWrlwJeYxQPWSpoynrTDlsAPdWIU9HsTSeAAE/Ha?= =?iso-8859-1?Q?ENqPqzYwrsIktiE4j5Go8LeJ9nA0RhJJs9IJnDjy4cOV2mDDKEnq7NfxMf?= =?iso-8859-1?Q?9u7fI/VlwbultvFjQTkbVbRv5U/c16iKej2DsWDccB8m/ywCSdltRNpoL2?= =?iso-8859-1?Q?mSNbVxoMjWg12WI8M5Pys3CuQOKbyLTJiRxh1nJ9PxSxY+R7QQu7BmVP3S?= =?iso-8859-1?Q?n+cnEqo2uwxkPB7OULRlsdkoH05YVQC4EjUa+uF4a1hvJp2Eutc5vluzg9?= =?iso-8859-1?Q?3/urG1FRoYSssLNQchpgWDTpkKFWSDNzcEZyoBqu2FE6wbLJTHasncFOIx?= =?iso-8859-1?Q?4lASxpf3Vi8I4sQjOcSiN7ChYDiGEfoqEO2rR5bYZbD246e0t+xqXHeGCu?= =?iso-8859-1?Q?3I4Bg+38hipMNo7+0i8+k9y0Pnb2Q0jaf24QLK3s89G6m/JjH85aAM93V8?= =?iso-8859-1?Q?sAVPGUv/9MN9e6ZkrBNsIx2QpAya7OFoZbRCGSc1uxt7Zrr+18af57K3+6?= =?iso-8859-1?Q?Lb+qv+71fIZfSr3WD5IQ4qXIKaDn8YEYbeCPFe62S0oFlcY8IF8SqDR1iw?= =?iso-8859-1?Q?LSzQgfXEBKfmTIgXxunNkWW5TfIqnX6fIF9FNYvRSYUcawsJvilMWuggns?= =?iso-8859-1?Q?/U+n2dGPhvi0+uU1h8nEGei6elf9QwnH2WVon5ygyYSJybv3QdopC9R+I3?= =?iso-8859-1?Q?Ktw4UoaqTM1ek=3D?= MIME-Version: 1.0 X-OriginatorOrg: stowers.org X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR20MB4671.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d04ddbf-92e5-4dcf-7567-08dcf377c790 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2024 15:31:35.3994 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3ab7a17c-a0ab-4280-b9f3-bb144eebee49 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2OH3QewFqE9PoaIBIiPW2ThLiERpQFB0aWT5z5RfqS4oHbvzJtt2rkXP+uTv/GwL X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR20MB4959 X-Mimecast-Spam-Score: 1 X-Mimecast-Originator: stowers.org Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=170.10.133.170; envelope-from=mec@stowers.org; helo=us-smtp-delivery-170.mimecast.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.61 X-Spam-Score: 1.61 X-Migadu-Queue-Id: 620FD61291 X-Migadu-Scanner: mx12.migadu.com X-TUID: bbMW2Jz1nwGT # -*- org-confirm-babel-evaluate: nil; -*-=0A=0AI have been struggling wit= h interrelated issues raised in=0A=0A - https://list.orgmode.org/87jznda90u= .fsf@localhost/#t=0A - https://list.orgmode.org/87le1bc8j3.fsf@localhost/= =0A=0AI expect I am using all the patches offered in addressing these given= =0Amy recent build from main. However, in my hands, I find they still=0Aea= sily allow for mistakes identifying prompts in code block results.=0A=0AIn = this demonstration, I am extending the approach to inquiry begun by Jack in= =0Ahttps://list.orgmode.org/87ttzn1mai.fsf@gmail.com/=0A=0A#+begin_src emac= s-lisp :results raw=0A (org-version nil t)=0A (emacs-version)=0A#+end_s= rc=0A=0A#+RESULTS:=0AGNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, X too= lkit, cairo version 1.15.12, Xaw3d scroll bars)=0A of 2024-09-04=0A(Org mod= e version 9.7.10 (release_9.7.10 @ /home/mec/.local/share/emacs/31.0.50/lis= p/org/) GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo v= ersion 1.15.12, Xaw3d scroll bars)=0A of 2024-09-04)=0A=0A#+begin_src emacs= -lisp=0A (org-babel-do-load-languages=0A 'org-babel-load-languages=0A = '((shell . t)))=0A#+end_src=0A=0A#+RESULTS:=0A=0AHere I define two org co= de blocks I will use repeatedly below:=0A=0A#+name:test_filter=0A#+begin_sr= c shell :session *shell* :results output=0A printf "a\nb\nc\n>d\n\ng= gg ggg>\nhhh hhh+\na\n"=0A#+end_src=0A=0A#+name:shell_prompt_info=0A#+begin= _src elisp=0A (with-current-buffer "*shell*"=0A (format "[comint-prompt= -regexp]=3D[%s]\n[org-babel-comint-prompt-regexp-old]=3D[%s]" comint-prompt= -regexp org-babel-comint-prompt-regexp-old))=0A#+end_src=0A=0A#+caption: Th= e results looks good - the output apparently is not confused as being promp= t.=0A#+call: test_filter()=0A=0A#+RESULTS:=0A: a=0A: b=0A: c=0A: >d=0A: =0A: ggg ggg>=0A: hhh hhh+=0A: a=0A=0A#+caption: take a look at the = prompt variables.=0A#+call:shell_prompt_info()=0A=0A#+RESULTS:=0A: [comint-= prompt-regexp]=3D[^org_babel_sh_prompt> *]=0A: [org-babel-comint-prompt-re= gexp-old]=3D[^[^#$%>=0A: ]*[#$%>] *]=0A=0A#+caption: check on conda's avail= abiity & version=0A#+begin_src shell :session *shell* :results output=0Acon= da --version=0A#+end_src=0A=0A#+RESULTS:=0A: conda 24.7.1=0A=0A#+begin_src = shell :session *shell* :results output=0Aconda create --yes --name myenv py= thon=3D3.9=0A#+end_src=0A=0A#+RESULTS:=0A#+begin_example=0A... abbreviated.= ..=0A=0ATo activate this environment, use=0A=0Aconda activate myenv=0A=0ATo= deactivate an active environment, use=0A=0Aconda deactivate=0A#+end_exampl= e=0A=0A#+begin_src shell :session *shell* :results output=0A conda activat= e myenv=0A#+end_src=0A=0A#+RESULTS:=0A=0A#+begin_src shell :session *shell*= :results output=0Awhich python=0A#+end_src=0A=0A#+RESULTS:=0A: /n/projects= /mec/SRSCHPC2/local/inst/Mambaforge/24.3.0-0/envs/myenv/bin/python=0A=0A#+c= aption: alas, the output of test_filter is changed. Some lines are gone mi= ssing and some are changed.=0A#+call: test_filter()=0A=0A#+RESULTS:=0A: a= =0A: b=0A: c=0A: d=0A: =0A: ]*[#= $%>] *]=0A: [org-babel-comint-prompt-regexp-old]=3D[^org_babel_sh_prompt> = *]=0A=0A#+caption: can we restore by deactivating the environment?=0A#+beg= in_src shell :session *shell* :results output=0A conda activate =20=0A#+en= d_src=0A=0A#+RESULTS:=0A=0A#+caption: alas, no:=0A#+call: test_filter()=0A= =0A#+RESULTS:=0A: a=0A: b=0A: c=0A: d=0A: = ";PS2=3D=0A#+end_src=0A=0A#+RESULTS:=0A=0A#+caption: alas, again, no=0A#+c= all: test_filter()=0A#+RESULTS:=0A: a=0A: b=0A: c=0A: d=0A: *"=0A =09 = org-babel-comint-prompt-regexp-old "[^[^#$%>=0A]*[#$%>] *"))=0A#+end_src=0A= =0A#+RESULTS:=0A: [^[^#$%>=0A: ]*[#$%>] *=0A=0A#+caption: YES!=0A#+call: te= st_filter()=0A=0A#+RESULTS:=0A: a=0A: b=0A: c=0A: >d=0A: =0A: ggg = ggg>=0A: hhh hhh+=0A: a=0A=0A=0AIn the above, I am exclusively allowing org= /ob/comint to "own" the shell=0Abuffer, and not interact with it, as recomm= ended earlier by Ivor.=0A=0AI have tried the above after first calling `(sh= ell)` and find=0Avariations on the above occur. I would like to be able to= 'share' the=0A*shell* buffer with org/ob/comint but expect resolving the= =0Anon-interactive case should possibly lay foundation.=0A=0AI would additi= onal like to layer in working with remote shells=0A(e.g. `:dir "/ssh:me@hos= t:~/`) and have tried but this is just=0Alayering in complexity on the loca= lhost case so I'm backing off for=0Anow.=0A=0AWhat else can I report or tes= t?=0A=0A