From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oMxlHggegWYsygAAe85BDQ:P1 (envelope-from ) for ; Sun, 30 Jun 2024 08:57:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oMxlHggegWYsygAAe85BDQ (envelope-from ) for ; Sun, 30 Jun 2024 10:57:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=YVRHnzYV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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=1719737864; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Huj/X7P1a8EmwhYEAUYgWemR4MvT9YJRGACUkqNd0w4=; b=DdF/WJ9m3t+9hikENvLxw+O1vi21pBBoFrl+LBV6ew1b2prgu/ZcAZWoi7Zt9731tdnE8O C3SP4tbtyAlVCAE8XnLujaFzAxTlSXlvdLN8IfsHpJNyeiznafDcLHPv68mpKrPu+WwybR zVczA4ADiA/PtnzGs39+tOEYGjIXWXpyRn5lA1OJ/gZ+o+SswLMMvvEDKsTttExC4FBfnv VsRjcc3gIu0O1NeuDilB21VzNMo84GOx4T0vUSxvpwLFKFiyxZzd45O9S4DD9VArB8WFEp tsbzWi3sVDZMd70O7I+zLODRELuV9rqfrXWV5hAAiqwQZ95OvovEG44k9J9lWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719737864; a=rsa-sha256; cv=none; b=Nr0UeDBPvT5rriprxT6NxPmfNxrQZOEpX3nR8B3letx9MrUO3MP131gddS3jWd6cIDb6CY 5WkhrHn7cKp0G8Gl+v8+kiDY/Ilz7LX7vwUIqS+u7lTOHXhoggpT4sAD/3k3BUp301pNOk 6o5HfYnglZ9raKPQATPjzqOa9oeT+BteX4ilYAx7JB2IoIL1WgaE09yZLcerpxw70lhvKg AR6+qTg/MdU4Au0WD9HMUXwZLtZlABEzT1xFujb3v3XdQ5m9zmv4L/PKO5FC3NdkS8AjWe m0kFiRqBEx2Gw6glZLIrPWVNKdgEnORlSpkFhHpfjiKx+q8106IMx9r4COVWrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=YVRHnzYV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" 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 4B261AAF1 for ; Sun, 30 Jun 2024 10:57:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNqNB-0003zG-B7; Sun, 30 Jun 2024 04:57:25 -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 1sNqN9-0003yy-5N for emacs-orgmode@gnu.org; Sun, 30 Jun 2024 04:57:23 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNqN7-0007B7-9E for emacs-orgmode@gnu.org; Sun, 30 Jun 2024 04:57:22 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-52d259dbe3cso2127803e87.0 for ; Sun, 30 Jun 2024 01:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719737839; x=1720342639; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=Huj/X7P1a8EmwhYEAUYgWemR4MvT9YJRGACUkqNd0w4=; b=YVRHnzYVMFtQOpp6uYy5bongQsia+qqM50aDdIDYE5qSSwqeqxe7DB1nI/f75xZbZQ VlUmqtvZTMUFYQd2HwUrww0D1XCOAP3cNYyP/T1RIJYV/9DjF22WZO0EOGUCX0lcyl3Q NsJZ8gWBkH5lQ/RvcpL/T/u3R7K7o1PwCs0tCvv8k0kikkl6eIyzAtvh6fZS7ddyMA2g wvpocv5e8sYnWl8HS2tSqjOZP16Mmo9AIxJgl4H4VpMvvhFiQKLC5uKDTEFIT+t/rAW8 bp8B20HHbM8W2S0KFO+19uHNilpJn//omAE2oO12nyoSevM35neIvs/hOgGBJ1V+4h7l OKhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719737839; x=1720342639; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Huj/X7P1a8EmwhYEAUYgWemR4MvT9YJRGACUkqNd0w4=; b=id6cYGm7XFCAai2mi/HtifFrCrlyTCJiZLMCN/t/j2fCFwfq5U7QMXu4h1WuyFFXOZ /58IE4pKGCOcxxKp2ihRQ4oNSKrVTxRPe1N73BbmrJ9WOs55oC+GLzGWJKVqRbkr73D4 ovGSnwsof56ngCh2kCzHyiNURMYK8SV8AX7/gmEPEoUBy+DehKK35g08o09x0RcXsP2Z WDmQlnY3B6yXd58YvwPUcUSjO/ysCcV6Du5v8LdNi8BQOLlUOvoWiRAiydkWMT3Ii6+m 07po+AIrmxC8F6o8tmn9Nyc5ZJvZsHp/trpRr5SZ/JMQv8dxAviXorfpCtLFaFULJB5A fyCQ== X-Forwarded-Encrypted: i=1; AJvYcCUvuBU86MdASDUXHKoj7y+rRmpK2jkMGY77XQ3Vc6eHUJNUONtiu/At05D+Zx8GACeFFHrefikmMwlHo7yF+ZRWGJwaQb4= X-Gm-Message-State: AOJu0Yz3NKTw9yKz58XYjsS8jGnkvjktLk5BKnK24aHR0l1URWpRV2pL f2wEDh3I8be4BsAwAIl7FX/8RKZ3XRT+7HTdwi9RgGNsnn1JbbyuWjGMBQ== X-Google-Smtp-Source: AGHT+IHyG+DN4UFL7JFxPshYqHtzsw247xRedh5O0Z8WAx4lTQYXDp2I75e8xFsQi5Ii1PbhRSFc2w== X-Received: by 2002:a05:6512:3a82:b0:52c:caaf:6905 with SMTP id 2adb3069b0e04-52e8272b38amr1810686e87.58.1719737838715; Sun, 30 Jun 2024 01:57:18 -0700 (PDT) Received: from [192.168.0.102] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id 2adb3069b0e04-52e7ab3b284sm911075e87.270.2024.06.30.01.57.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 Jun 2024 01:57:18 -0700 (PDT) Message-ID: Date: Sun, 30 Jun 2024 15:57:17 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bash source code block: problem after ssh commands To: Matt , "emacs-orgmode@gnu.org" References: <25912.63830.726070.953843@gargle.gargle.HOWL> <87bkcmlor9.fsf@t14.reltub.ca> <87o7gldb78.fsf@localhost> <25914.26693.101108.954656@gargle.gargle.HOWL> <87fs1xbis1.fsf@localhost> <25916.238.191509.652552@gargle.gargle.HOWL> <653f8a93.050a0220.f2202.5816@mx.google.com> <87zfzr2ejj.fsf@localhost> <18ba5e231e3.f989cde147196.3154436412643995109@excalamus.com> <875y2e2b9y.fsf@localhost> <18bb07473e2.1007b1565819307.6938164403009000496@excalamus.com> <877cmr2ke4.fsf@localhost> <18bb5337346.dfcd5ebb1139895.801408740607633332@excalamus.com> <18bd3d38ff3.115b786cb2560022.7704006411630399228@excalamus.com> <87fs169h7f.fsf@localhost> <18bd984270d.1048050a22954105.2819987720224062869@excalamus.com> <25942.29051.701153.391260@gargle.gargle.HOWL> <18bd9ea2f7b.b77346232985684.5614027527324280790@excalamus.com> <871qcod9ad.fsf@localhost> <18bdf538f2f.126bad4763316098.8581777358227217138@excalamus.com> <18be3214fb5.c07a71b73414174.856693588849825524@excalamus.com> Content-Language: en-US, ru-RU From: Max Nikulin Mail-Followup-To: Matt , "emacs-orgmode@gnu.org" In-Reply-To: <18be3214fb5.c07a71b73414174.856693588849825524@excalamus.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12f.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: -2.27 X-Spam-Score: -2.27 X-Migadu-Queue-Id: 4B261AAF1 X-Migadu-Scanner: mx11.migadu.com X-TUID: yeUejAEbsP9S On 18/11/2023 22:51, Matt wrote: > ---- On Fri, 17 Nov 2023 23:07:57 +0100 Matt wrote --- >> The second claim has nothing to do with Org Babel. I was able to >> confirm it and provide the steps to reproduce. I think it would make >> sense to report it upstream and let them decide if it's expected >> behavior. I'm still happy to do that, but I need to step away from the >> keyboard :) > https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-11/msg00976.html https://debbugs.gnu.org/67259 Notice that the report is for *interactive* sessions. Org babel sessions are not so interactive. They are to maintain state, not to interact with users directly. Consider fakessh() { bash -c 'read -t 10 -r; printf "fakessh read: %s\n" "$REPLY"'; } fakessh echo next If you type them in terminal then result depends on delay between "fakessh" and "echo next" commands. SSH is an example of command that *may* read stdin while its command is running. To avoid ambiguity you have to do either fakessh