From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mU7fHqdu6mOF+wAAbAwnHQ (envelope-from ) for ; Mon, 13 Feb 2023 18:08:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mPO/Hadu6mPJ2gAAauVa8A (envelope-from ) for ; Mon, 13 Feb 2023 18:08:55 +0100 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 37B86A443 for ; Mon, 13 Feb 2023 18:08:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRcJG-0004Wv-OS; Mon, 13 Feb 2023 12:08:10 -0500 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 1pRcJE-0004W8-ND for emacs-orgmode@gnu.org; Mon, 13 Feb 2023 12:08:09 -0500 Received: from sender4-op-o12.zoho.com ([136.143.188.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRcJA-0000QT-Ec for emacs-orgmode@gnu.org; Mon, 13 Feb 2023 12:08:08 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1676308081; cv=none; d=zohomail.com; s=zohoarc; b=ZjzTPCP5uqaAnjObWDC7H0FpgEotcN8ofhC1YOLYsak+Vao3erM8cKiOttqwpKTSrAqVbMePrJq6wnlqE85mTGY9t3gTXUrDlxWGHEwvawPwfXFY2LhY6khS1n3Lgnvil/eBXGkTcortvAMhQ08iEI44XYTcglQNkmNrPG8RTaU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1676308081; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/2L7/v2/2XTblNorGNgEfHtXGzbtC6hw/BCKUIuxDgk=; b=Mk6TmXy82H3GSaPUVgQTmtPWT1sRMvlTm9iQMLKQMUtL7ws+rueHWlq1gajtPAo3xi4DEQcu/G6UmaNJRSlwXWV1lQOd9X0+I4rdzFgg5goNN5QLXx7wMDAZJ08XcNCXuhHQwjhEXQgEx284A8yP+kYPzlea0i9yhlLhdHg3iXM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1676308081; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=/2L7/v2/2XTblNorGNgEfHtXGzbtC6hw/BCKUIuxDgk=; b=b+Ch9v1rppKGFIPJ4alYi194VhEjFHiF6OJnuaWScr7Yc+FCXcfYXaHajaRjiVB9 +KPpVMVRjthhtCtU7xU9WLQh89fL/397jCX3Hw6uNeP75ijt9oefx9RBodkLWPPfXaC VEXWKGCrWvGV5Jdb8YIvRJuglOFbGwFQLE22O44s= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1676308079421767.5496107738767; Mon, 13 Feb 2023 09:07:59 -0800 (PST) Date: Mon, 13 Feb 2023 12:07:59 -0500 From: Matt To: "Jack Kamm" Cc: "emacs-orgmode" Message-ID: <1864bbf632d.acf83486624816.5548943856411522610@excalamus.com> In-Reply-To: <87357a2r27.fsf@gmail.com> References: <186283d230a.129f5feb61660123.3289004102603503414@excalamus.com> <87a61j3orj.fsf@gmail.com> <1864701b4b8.e37160d6373275.4308190093579612690@excalamus.com> <87357a2r27.fsf@gmail.com> Subject: [BUG] shell sessions started outside of Babel broken MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.12; envelope-from=matt@excalamus.com; helo=sender4-op-o12.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1676308135; a=rsa-sha256; cv=pass; b=BNRhyfTHIZLV1gxhuXNo8od3Cd0zPGc75zzW8Ldv/Qp3AhTrkBY68HBVFVVSZx74/OxDhx ZZDK34dkrsGlpjUwYwZOSH51BMzZ0pYwLo1kukPkVtZ+rFd5OshM4qzwbg4FJukTDmr49d UJUnyTYSkiiAgNvQU6B7H0gOzJ1o8nUdtmSEJbVg4ywNUeNA3iUUw0pIH9g6IN2SGVOwWr nZt13PVIRPPcC8q+7cIbxA8I5MnOtJ/LHpVjAgPnOJCRFwoedi1eQVRLPzytIW1dVltC7h AYaBthaHyqRIleQWRiPkm2Q4a/M3FMOo01v8870d6O/DC1f8RZF8bTOcv8lDqA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=b+Ch9v1r; 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=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676308135; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/2L7/v2/2XTblNorGNgEfHtXGzbtC6hw/BCKUIuxDgk=; b=lMbB82+SfrJfwJV8/hzww4jACn2VMUNu7NpMoT/MypkSpuRNKzNrbMyduu9BpugEHhwt9I hjgSkYGrKzyafWefYRL7NBT+t/3WufeRduINwT4wo2tu/WTfMR1l8mxuahTKuXfUUnFUvu 11Wv4mQBCyscBVu79jKvgGQ+6VRr7WllSQr3lNFQVFSUWoEv7Q2TrWm3UqJFAcLj9N4Se3 jbFF5LwciJhGgA9C2B99lY9mJ9HlCrY/L8hBcN9zBlLb3i/r6W5J5bufdk/TaXCKRTicZX hEZiKACDWfbCv0d9ooZIB3QZJPUuSKC5WZ+89GCelE3PIM42By6y0/kQPQmy3w== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=b+Ch9v1r; 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=pass ("zohomail.com:s=zohoarc:i=1") X-Migadu-Spam-Score: -6.86 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Queue-Id: 37B86A443 X-Spam-Score: -6.86 X-TUID: +HDVz+jWUDXV ---- On Sat, 11 Feb 2023 15:56:00 -0500 Jack Kamm wrote --- > By the way, I took a look at ob-shell for the first time in awhile, and > noticed that ob-shell now forces the prompt to be like: > > org_babel_sh_prompt> > > Which I think makes cleaning up the prompt markers a lot more > robust. But it is a bit ugly, and also seems to break working with shell > sessions started outside of Babel with M-x shell. Can you please elaborate? The following does what I expect it to: 1. M-x shell 2. Call `org-ctrl-c-ctrl-c' on the following block in a separate Org buffer: #+begin_src sh :session *shell* echo "hello, world!" #+end_src #+RESULTS: | hello | world! | Are you doing something different?